Skip to content

Commit 2b29bd9

Browse files
authored
Merge pull request #975 from consideRatio/pr/fix-tests
tests: fix to catch test failure earlier when they really happen
2 parents 7e39e99 + 8fd41cc commit 2b29bd9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

integration-tests/test_hub.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ async def test_user_code_execute():
5959

6060
async with User(username, HUB_URL, partial(login_dummy, password="")) as u:
6161
assert await u.login()
62-
await u.ensure_server_simulate(timeout=60, spawn_refresh_time=5)
63-
await u.start_kernel()
64-
await u.assert_code_output("5 * 4", "20", 5, 5)
62+
assert await u.ensure_server_simulate(timeout=60, spawn_refresh_time=5)
63+
assert await u.start_kernel()
64+
assert await u.assert_code_output("5 * 4", "20", 5, 5)
6565

6666

6767
async def test_user_server_started_with_custom_base_url():

0 commit comments

Comments
 (0)