Fix capacity check url for TC 87/38887/1
authorYun Huang <yun.huang@windriver.com>
Tue, 27 Mar 2018 06:24:51 +0000 (14:24 +0800)
committerYun Huang <yun.huang@windriver.com>
Tue, 27 Mar 2018 06:24:51 +0000 (14:24 +0800)
Change-Id: I271b6b463a7d4a70f8a5493e4bf2ec35b2f4b047
Issue-ID: MULTICLOUD-168
Signed-off-by: Yun Huang <yun.huang@windriver.com>
windriver/titanium_cloud/resource/tests/test_capacity.py

index 3dae108..e4dec75 100644 (file)
@@ -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)