remove redundant use_subdomains

non-empty subdomain_host is enough
This commit is contained in:
Min RK
2016-03-04 10:42:26 +01:00
parent b2ece48239
commit be5860822d
6 changed files with 30 additions and 39 deletions

View File

@@ -363,7 +363,7 @@ def test_spawn(app, io_loop):
argv = r.json()
for expected in ['--user=%s' % name, '--base-url=%s' % user.server.base_url]:
assert expected in argv
if app.use_subdomains:
if app.subdomain_host:
assert '--hub-host=%s' % app.subdomain_host in argv
r = api_request(app, 'users', name, 'server', method='delete')