aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Duval <thomas.duval@orange.com>2016-09-08 11:12:31 +0200
committerThomas Duval <thomas.duval@orange.com>2016-09-20 10:38:38 +0200
commit611b98c6659e5a0ba2dd3a8d901543c458d51fb1 (patch)
tree6884917725b114d1305f2d6bc2d85b373eabfc04
parent87e13491e192d3f6c94746a638dc4bd3f0112bae (diff)
Force the port of ODL to 8181.
Change-Id: I3dbaaafe996ae68a4de9e0e360da5c32e7429f76 (cherry picked from commit 6c3682d22c3b1758b8fca440012dfe2a4b349f5c)
-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()