mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 22:13:00 +00:00
include protocol in subdomain_host
makes everything easier, and tests are passing with and without subdomains (yay!)
This commit is contained in:
@@ -364,7 +364,7 @@ def test_spawn(app, io_loop):
|
||||
for expected in ['--user=%s' % name, '--base-url=%s' % user.server.base_url]:
|
||||
assert expected in argv
|
||||
if app.use_subdomains:
|
||||
assert '--hub-host=//%s' % app.subdomain_host in argv
|
||||
assert '--hub-host=%s' % app.subdomain_host in argv
|
||||
|
||||
r = api_request(app, 'users', name, 'server', method='delete')
|
||||
assert r.status_code == 204
|
||||
|
Reference in New Issue
Block a user