set API token in single-user-spawner test

This commit is contained in:
Min RK
2016-07-25 15:57:43 +02:00
parent c27e59b0f9
commit 592a084a28

View File

@@ -64,6 +64,7 @@ def test_spawner(db, io_loop):
def test_single_user_spawner(db, io_loop):
spawner = new_spawner(db, cmd=['jupyterhub-singleuser'])
spawner.api_token = 'secret'
io_loop.run_sync(spawner.start)
assert spawner.user.server.ip == '127.0.0.1'
# wait for http server to come up,