mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-14 13:33:00 +00:00
update tests with new default server ip ('')
and verify that starting a Spawner sets ip to localhost
This commit is contained in:
@@ -45,6 +45,7 @@ def new_spawner(db, **kwargs):
|
||||
def test_spawner(db, io_loop):
|
||||
spawner = new_spawner(db)
|
||||
io_loop.run_sync(spawner.start)
|
||||
assert spawner.user.server.ip == 'localhost'
|
||||
|
||||
# wait for the process to get to the while True: loop
|
||||
time.sleep(1)
|
||||
|
Reference in New Issue
Block a user