From a309bf61da7d665b5c702c63283b950a1c497b3b Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Wed, 3 Apr 2024 22:17:23 +0200 Subject: [PATCH] tests: strengthen tests to fail earlier on issues --- integration-tests/test_hub.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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():