mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-08 18:44:10 +00:00
proxy_cmd is a list
This commit is contained in:
@@ -26,7 +26,7 @@ def test_external_proxy(request, io_loop):
|
|||||||
request.addfinalizer(fin)
|
request.addfinalizer(fin)
|
||||||
env = os.environ.copy()
|
env = os.environ.copy()
|
||||||
env['CONFIGPROXY_AUTH_TOKEN'] = auth_token
|
env['CONFIGPROXY_AUTH_TOKEN'] = auth_token
|
||||||
cmd = [app.proxy_cmd,
|
cmd = app.proxy_cmd + [
|
||||||
'--ip', app.ip,
|
'--ip', app.ip,
|
||||||
'--port', str(app.port),
|
'--port', str(app.port),
|
||||||
'--api-ip', proxy_ip,
|
'--api-ip', proxy_ip,
|
||||||
@@ -82,7 +82,7 @@ def test_external_proxy(request, io_loop):
|
|||||||
new_auth_token = 'different!'
|
new_auth_token = 'different!'
|
||||||
env['CONFIGPROXY_AUTH_TOKEN'] = new_auth_token
|
env['CONFIGPROXY_AUTH_TOKEN'] = new_auth_token
|
||||||
proxy_port = 55432
|
proxy_port = 55432
|
||||||
cmd = [app.proxy_cmd,
|
cmd = app.proxy_cmd + [
|
||||||
'--ip', app.ip,
|
'--ip', app.ip,
|
||||||
'--port', str(app.port),
|
'--port', str(app.port),
|
||||||
'--api-ip', app.proxy_api_ip,
|
'--api-ip', app.proxy_api_ip,
|
||||||
|
Reference in New Issue
Block a user