Code Review
/
multicloud
/
framework.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
9314f17
)
Merge "Update test_combine_url"
author
Liang Ke
<lokyse@163.com>
Mon, 26 Mar 2018 08:57:39 +0000
(08:57 +0000)
committer
Gerrit Code Review
<gerrit@onap.org>
Mon, 26 Mar 2018 08:57:39 +0000
(08:57 +0000)
multivimbroker/multivimbroker/tests/test_restcall.py
patch
|
blob
|
history
diff --git
a/multivimbroker/multivimbroker/tests/test_restcall.py
b/multivimbroker/multivimbroker/tests/test_restcall.py
index
235d58a
..
a6870a5
100644
(file)
--- a/
multivimbroker/multivimbroker/tests/test_restcall.py
+++ b/
multivimbroker/multivimbroker/tests/test_restcall.py
@@
-18,8
+18,8
@@
class TestRestCall(unittest.TestCase):
def test_combine_url(self):
url = ["http://a.com/test/", "http://a.com/test/",
- "http://a.com/test"]
- res = ["/resource", "resource", "/resource"]
+ "http://a.com/test"
, "http://a.com/test"
]
+ res = ["/resource", "resource", "/resource"
, "resource"
]
expected = "http://a.com/test/resource"
for i in range(len(url)):
self.assertEqual(expected, restcall.combine_url(url[i], res[i]))