From 6cfd186f06dd027ab7feae33a976b718d34f7176 Mon Sep 17 00:00:00 2001 From: Min RK Date: Fri, 12 Jun 2015 14:01:57 -0700 Subject: [PATCH] proxy_cmd is a list --- jupyterhub/tests/test_proxy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jupyterhub/tests/test_proxy.py b/jupyterhub/tests/test_proxy.py index 55be87c0..e55a57a5 100644 --- a/jupyterhub/tests/test_proxy.py +++ b/jupyterhub/tests/test_proxy.py @@ -26,7 +26,7 @@ def test_external_proxy(request, io_loop): request.addfinalizer(fin) env = os.environ.copy() env['CONFIGPROXY_AUTH_TOKEN'] = auth_token - cmd = [app.proxy_cmd, + cmd = app.proxy_cmd + [ '--ip', app.ip, '--port', str(app.port), '--api-ip', proxy_ip, @@ -82,7 +82,7 @@ def test_external_proxy(request, io_loop): new_auth_token = 'different!' env['CONFIGPROXY_AUTH_TOKEN'] = new_auth_token proxy_port = 55432 - cmd = [app.proxy_cmd, + cmd = app.proxy_cmd + [ '--ip', app.ip, '--port', str(app.port), '--api-ip', app.proxy_api_ip,