From: Yun Huang Date: Tue, 27 Mar 2018 06:24:51 +0000 (+0800) Subject: Fix capacity check url for TC X-Git-Tag: v1.1.2~128 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=fc30f9fef63530c8fe654c8f65b80d7de63438ea;p=multicloud%2Fopenstack.git Fix capacity check url for TC Change-Id: I271b6b463a7d4a70f8a5493e4bf2ec35b2f4b047 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang --- 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)