From fc30f9fef63530c8fe654c8f65b80d7de63438ea Mon Sep 17 00:00:00 2001 From: Yun Huang Date: Tue, 27 Mar 2018 14:24:51 +0800 Subject: Fix capacity check url for TC Change-Id: I271b6b463a7d4a70f8a5493e4bf2ec35b2f4b047 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang --- windriver/titanium_cloud/resource/tests/test_capacity.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'windriver/titanium_cloud/resource') 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) -- cgit 1.2.3-korg