diff options
author | Yun Huang <yun.huang@windriver.com> | 2018-03-27 14:36:28 +0800 |
---|---|---|
committer | Yun Huang <yun.huang@windriver.com> | 2018-03-27 14:36:28 +0800 |
commit | d9ffb28b7cb39c66cb21ab2ae78dc1371e4bb068 (patch) | |
tree | a9a40c520a9ed736c0b58b07e3bb98d92b69024a /newton | |
parent | 7cfa9ac42ec693459eb555b0551a7addeab5deb4 (diff) |
Fix UT capacity check url for newton
Change-Id: Ie2317b95a88ffe202c4f1ac0de12f5829e44f94c
Issue-ID: MULTICLOUD-168
Signed-off-by: Yun Huang <yun.huang@windriver.com>
Diffstat (limited to 'newton')
-rw-r--r-- | newton/newton/resource/tests/test_capacity.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/newton/newton/resource/tests/test_capacity.py b/newton/newton/resource/tests/test_capacity.py index 071997e3..fa585237 100644 --- a/newton/newton/resource/tests/test_capacity.py +++ b/newton/newton/resource/tests/test_capacity.py @@ -87,9 +87,8 @@ class TestCapacity(test_base.TestRequest): ] }) - response = self.client.post(( - "/api/%s/v0/windriver-hudson-dc_RegionOne/" - "capacity_check" % test_base.MULTIVIM_VERSION), + response = self.client.post( + "/api/multicloud-newton/v0/windriver-hudson-dc_RegionOne/capacity_check", TEST_REQ_SUCCESS_SOURCE, HTTP_X_AUTH_TOKEN=mock_info.MOCK_TOKEN_ID) @@ -109,9 +108,8 @@ class TestCapacity(test_base.TestRequest): ] }) - response = self.client.post(( - "/api/%s/v0/windriver-hudson-dc_RegionOne/" - "capacity_check" % test_base.MULTIVIM_VERSION), + response = self.client.post( + "/api/multicloud-newton/v0/windriver-hudson-dc_RegionOne/capacity_check", TEST_REQ_FAILED_SOURCE, HTTP_X_AUTH_TOKEN=mock_info.MOCK_TOKEN_ID) |