add hub.routespec

this is the routespec for sending requests to the hub

It is [host]/prefix/ (not /hub/) so it receives all
requests, not just those destined for the hub
This commit is contained in:
Min RK
2018-07-03 12:05:21 +02:00
parent a84fa38c6b
commit 89e6c2110e
5 changed files with 21 additions and 12 deletions

View File

@@ -1055,7 +1055,7 @@ def test_get_proxy(app):
r = yield api_request(app, 'proxy')
r.raise_for_status()
reply = r.json()
assert list(reply.keys()) == [app.base_url]
assert list(reply.keys()) == [app.hub.routespec]
@mark.gen_test