summaryrefslogtreecommitdiffstats
path: root/newton
diff options
context:
space:
mode:
Diffstat (limited to 'newton')
-rw-r--r--newton/newton/resource/tests/test_capacity.py10
1 files changed, 4 insertions, 6 deletions
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)