diff options
-rw-r--r-- | ocata/ocata/resource/tests/test_capacity.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/ocata/ocata/resource/tests/test_capacity.py b/ocata/ocata/resource/tests/test_capacity.py index 071997e3..f7892bd1 100644 --- a/ocata/ocata/resource/tests/test_capacity.py +++ b/ocata/ocata/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-ocata/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-ocata/v0/windriver-hudson-dc_RegionOne/capacity_check", TEST_REQ_FAILED_SOURCE, HTTP_X_AUTH_TOKEN=mock_info.MOCK_TOKEN_ID) |