Code Review
/
moon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
87e1349
)
Force the port of ODL to 8181.
63/21763/1
author
Thomas Duval
<thomas.duval@orange.com>
Thu, 8 Sep 2016 09:12:31 +0000
(11:12 +0200)
committer
Thomas Duval
<thomas.duval@orange.com>
Tue, 20 Sep 2016 08:38:38 +0000
(10:38 +0200)
Change-Id: I3dbaaafe996ae68a4de9e0e360da5c32e7429f76
(cherry picked from commit
6c3682d22c3b1758b8fca440012dfe2a4b349f5c
)
tests/run_tests.py
patch
|
blob
|
history
diff --git
a/tests/run_tests.py
b/tests/run_tests.py
index
816e28f
..
9b0c127
100755
(executable)
--- 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()