mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
tests: strengthen tests to fail earlier on issues
This commit is contained in:
committed by
Erik Sundell
parent
7e39e993da
commit
8fd41cc77a
@@ -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():
|
||||||
|
|||||||
Reference in New Issue
Block a user