diff options
author | Liang Ke <lokyse@163.com> | 2018-03-26 08:57:39 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-03-26 08:57:39 +0000 |
commit | 884f87fd75c7de89eec65f851cd0615ace865082 (patch) | |
tree | 1ea0917fcdcc85d9d22fa469a886d368b62fe57b /multivimbroker | |
parent | 9314f17cff8b1f11c57cd9044a89d7161b261d20 (diff) | |
parent | 4bfba800dfafd65b59c7071e329a7cbaaf059761 (diff) |
Merge "Update test_combine_url"
Diffstat (limited to 'multivimbroker')
-rw-r--r-- | multivimbroker/multivimbroker/tests/test_restcall.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/multivimbroker/multivimbroker/tests/test_restcall.py b/multivimbroker/multivimbroker/tests/test_restcall.py index 235d58a..a6870a5 100644 --- 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])) |