Merge pull request #148 from minrk/poke-proxy-api

add proxy API
This commit is contained in:
Min RK
2015-02-08 10:24:42 -08:00
9 changed files with 220 additions and 8 deletions

View File

@@ -277,3 +277,10 @@ def test_never_spawn(app, io_loop):
assert not user.spawn_pending
status = io_loop.run_sync(user.spawner.poll)
assert status is not None
def test_get_proxy(app, io_loop):
r = api_request(app, 'proxy')
r.raise_for_status()
reply = r.json()
assert list(reply.keys()) == ['/']