From: Yun Huang Date: Tue, 27 Mar 2018 06:36:28 +0000 (+0800) Subject: Fix UT capacity check url for newton X-Git-Tag: v1.1.2~126 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=d9ffb28b7cb39c66cb21ab2ae78dc1371e4bb068;p=multicloud%2Fopenstack.git Fix UT capacity check url for newton Change-Id: Ie2317b95a88ffe202c4f1ac0de12f5829e44f94c Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang --- diff --git a/newton/newton/resource/tests/test_capacity.py b/newton/newton/resource/tests/test_capacity.py index 071997e3..fa585237 100644 --- a/newton/newton/resource/tests/test_capacity.py +++ b/newton/newton/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-newton/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-newton/v0/windriver-hudson-dc_RegionOne/capacity_check", TEST_REQ_FAILED_SOURCE, HTTP_X_AUTH_TOKEN=mock_info.MOCK_TOKEN_ID)