diff --git a/integration-tests/test_hub.py b/integration-tests/test_hub.py index 55a35cd7..92815663 100644 --- a/integration-tests/test_hub.py +++ b/integration-tests/test_hub.py @@ -59,9 +59,9 @@ async def test_user_code_execute(): async with User(username, HUB_URL, partial(login_dummy, password="")) as u: assert await u.login() - await u.ensure_server_simulate(timeout=60, spawn_refresh_time=5) - await u.start_kernel() - await u.assert_code_output("5 * 4", "20", 5, 5) + assert await u.ensure_server_simulate(timeout=60, spawn_refresh_time=5) + assert await u.start_kernel() + assert await u.assert_code_output("5 * 4", "20", 5, 5) async def test_user_server_started_with_custom_base_url():