aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests/run_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run_tests.py b/tests/run_tests.py
index 816e28f5..9b0c1279 100755
--- a/tests/run_tests.py
+++ b/tests/run_tests.py
@@ -74,7 +74,7 @@ def test_federation():
# Retrieve ODL token
nhost, nport = __get_endpoint_url(name="neutron")
auth_data = {'username': 'admin', 'password': 'console'}
- conn = client.HTTPConnection(nhost, nport)
+ conn = client.HTTPConnection(nhost, "8181")
headers = {"Content-type": "application/json"}
conn.request("POST", "/auth/v1/domains", json.dumps(auth_data).encode('utf-8'), headers=headers)
resp = conn.getresponse()