summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud
diff options
context:
space:
mode:
authorYun Huang <yun.huang@windriver.com>2018-03-27 14:24:51 +0800
committerYun Huang <yun.huang@windriver.com>2018-03-27 14:24:51 +0800
commitfc30f9fef63530c8fe654c8f65b80d7de63438ea (patch)
tree6c2e3cefb893828dad6df0a99f93514f0e67713c /windriver/titanium_cloud
parent4dc6af80f315833f14a38b923fa17e9f3e29ee42 (diff)
Fix capacity check url for TC
Change-Id: I271b6b463a7d4a70f8a5493e4bf2ec35b2f4b047 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud')
-rw-r--r--windriver/titanium_cloud/resource/tests/test_capacity.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/windriver/titanium_cloud/resource/tests/test_capacity.py b/windriver/titanium_cloud/resource/tests/test_capacity.py
index 3dae1080..e4dec752 100644
--- a/windriver/titanium_cloud/resource/tests/test_capacity.py
+++ b/windriver/titanium_cloud/resource/tests/test_capacity.py
@@ -88,9 +88,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-titanium_cloud/v0/windriver-hudson-dc_RegionOne/capacity_check",
TEST_REQ_SUCCESS_SOURCE,
HTTP_X_AUTH_TOKEN=mock_info.MOCK_TOKEN_ID)
@@ -110,9 +109,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-titanium_cloud/v0/windriver-hudson-dc_RegionOne/capacity_check",
TEST_REQ_FAILED_SOURCE,
HTTP_X_AUTH_TOKEN=mock_info.MOCK_TOKEN_ID)