diff options
author | Yun Huang <yun.huang@windriver.com> | 2018-03-27 14:30:29 +0800 |
---|---|---|
committer | Yun Huang <yun.huang@windriver.com> | 2018-03-27 14:30:29 +0800 |
commit | 7cfa9ac42ec693459eb555b0551a7addeab5deb4 (patch) | |
tree | 8f335d2514dbc2e24f8c0a3ba69f482b09554b4d /ocata | |
parent | fc30f9fef63530c8fe654c8f65b80d7de63438ea (diff) |
Fix UT capacity check url for ocata
Change-Id: I114f21e43139df5be5a2764acdba4da9426d5563
Issue-ID: MULTICLOUD-168
Signed-off-by: Yun Huang <yun.huang@windriver.com>
Diffstat (limited to 'ocata')
-rw-r--r-- | ocata/ocata/resource/tests/test_capacity.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/ocata/ocata/resource/tests/test_capacity.py b/ocata/ocata/resource/tests/test_capacity.py index 071997e3..f7892bd1 100644 --- a/ocata/ocata/resource/tests/test_capacity.py +++ b/ocata/ocata/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-ocata/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-ocata/v0/windriver-hudson-dc_RegionOne/capacity_check", TEST_REQ_FAILED_SOURCE, HTTP_X_AUTH_TOKEN=mock_info.MOCK_TOKEN_ID) |