diff options
author | Ethan Lynn <ethanlynnl@vmware.com> | 2018-03-25 22:42:17 -0700 |
---|---|---|
committer | Ethan Lynn <ethanlynnl@vmware.com> | 2018-03-25 22:42:50 -0700 |
commit | 4bfba800dfafd65b59c7071e329a7cbaaf059761 (patch) | |
tree | 2585214c1b875ae9f0aae3adc961742bf9ae55af /multivimbroker | |
parent | acffd04f08606b905a63d91ba4f3ae3bb340b1da (diff) |
Update test_combine_url
Update test_combine_url for a corner case
Change-Id: I5973c93199d7a684feeaa1cdb84b29b0d9ca8f12
Issue-ID: MULTICLOUD-198
Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
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])) |