update tests with new default server ip ('')

and verify that starting a Spawner sets ip to localhost
This commit is contained in:
Min RK
2015-03-01 21:56:30 -08:00
parent 8ae0109322
commit f81d4ba44c
3 changed files with 5 additions and 4 deletions

View File

@@ -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)