Merge pull request #975 from consideRatio/pr/fix-tests

tests: fix to catch test failure earlier when they really happen
This commit is contained in:
Erik Sundell
2024-04-04 22:53:32 +02:00
committed by GitHub

View File

@@ -59,9 +59,9 @@ async def test_user_code_execute():
async with User(username, HUB_URL, partial(login_dummy, password="")) as u: async with User(username, HUB_URL, partial(login_dummy, password="")) as u:
assert await u.login() assert await u.login()
await u.ensure_server_simulate(timeout=60, spawn_refresh_time=5) assert await u.ensure_server_simulate(timeout=60, spawn_refresh_time=5)
await u.start_kernel() assert await u.start_kernel()
await u.assert_code_output("5 * 4", "20", 5, 5) assert await u.assert_code_output("5 * 4", "20", 5, 5)
async def test_user_server_started_with_custom_base_url(): async def test_user_server_started_with_custom_base_url():