summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/registration/tests
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2018-09-03 15:02:14 +0000
committerBin Yang <bin.yang@windriver.com>2018-09-03 15:45:20 +0000
commit6833e23f5c0c641eda33716c0b91abe815cc71fd (patch)
treee7bd3bbf625da06087757d4947e46e3fb0e891be /windriver/titanium_cloud/registration/tests
parent1c1c3ee7fd7045ce52f1a32ea239353263a31f81 (diff)
Fix bug of region discovery
Change-Id: I006fb0f8ab7a644369d0a03ed1b563db3f52afd7 Issue-ID: MULTICLOUD-311 Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud/registration/tests')
-rw-r--r--windriver/titanium_cloud/registration/tests/test_registration.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/windriver/titanium_cloud/registration/tests/test_registration.py b/windriver/titanium_cloud/registration/tests/test_registration.py
index cc4bdd6c..5c31c4e8 100644
--- a/windriver/titanium_cloud/registration/tests/test_registration.py
+++ b/windriver/titanium_cloud/registration/tests/test_registration.py
@@ -234,7 +234,7 @@ class TestRegistration(test_base.TestRequest):
})
response = self.client.post((
- "/api/multicloud-titaniumcloud/v0/windriver-hudson-dc_RegionOne/"
+ "/api/multicloud-titanium_cloud/v0/windriver-hudson-dc_RegionOne/"
"registry"), TEST_REGISTER_ENDPOINT_REQUEST,
HTTP_X_AUTH_TOKEN=mock_info.MOCK_TOKEN_ID)
@@ -247,7 +247,7 @@ class TestRegistration(test_base.TestRequest):
mock_delete_vim_info.return_value = 0
response = self.client.delete((
- "/api/multicloud-titaniumcloud/v0/windriver-hudson-dc_RegionOne/"
+ "/api/multicloud-titanium_cloud/v0/windriver-hudson-dc_RegionOne/"
"registry"), "{}", content_type="application/json",
HTTP_X_AUTH_TOKEN=mock_info.MOCK_TOKEN_ID)
@@ -261,7 +261,7 @@ class TestRegistration(test_base.TestRequest):
mock_delete_vim_info.return_value = 1
response = self.client.delete((
- "/api/multicloud-titaniumcloud/v0/windriver-hudson-dc_RegionOne/"
+ "/api/multicloud-titanium_cloud/v0/windriver-hudson-dc_RegionOne/"
"registry"), "{}", content_type="application/json",
HTTP_X_AUTH_TOKEN=mock_info.MOCK_TOKEN_ID)
@@ -291,7 +291,7 @@ class TestRegistration(test_base.TestRequest):
})
response = self.client.post((
- "/api/multicloud-titaniumcloud/v0/windriver-hudson-dc_RegionOne/"
+ "/api/multicloud-titanium_cloud/v0/windriver-hudson-dc_RegionOne/"
"registry"), TEST_REGISTER_ENDPOINT_REQUEST,
HTTP_X_AUTH_TOKEN=mock_info.MOCK_TOKEN_ID)
@@ -321,7 +321,7 @@ class TestRegistration(test_base.TestRequest):
})
response = self.client.post((
- "/api/multicloud-titaniumcloud/v0/windriver-hudson-dc_RegionOne/"
+ "/api/multicloud-titanium_cloud/v0/windriver-hudson-dc_RegionOne/"
"registry"), TEST_REGISTER_ENDPOINT_REQUEST,
HTTP_X_AUTH_TOKEN=mock_info.MOCK_TOKEN_ID)
@@ -352,7 +352,7 @@ class TestRegistration(test_base.TestRequest):
})
response = self.client.post((
- "/api/multicloud-titaniumcloud/v0/windriver-hudson-dc_RegionOne/"
+ "/api/multicloud-titanium_cloud/v0/windriver-hudson-dc_RegionOne/"
"registry"), TEST_REGISTER_ENDPOINT_REQUEST,
HTTP_X_AUTH_TOKEN=mock_info.MOCK_TOKEN_ID)
@@ -382,7 +382,7 @@ class TestRegistration(test_base.TestRequest):
})
response = self.client.post((
- "/api/multicloud-titaniumcloud/v0/windriver-hudson-dc_RegionOne/"
+ "/api/multicloud-titanium_cloud/v0/windriver-hudson-dc_RegionOne/"
"registry"), TEST_REGISTER_ENDPOINT_REQUEST,
HTTP_X_AUTH_TOKEN=mock_info.MOCK_TOKEN_ID)
@@ -412,7 +412,7 @@ class TestRegistration(test_base.TestRequest):
})
response = self.client.post((
- "/api/multicloud-titaniumcloud/v0/windriver-hudson-dc_RegionOne/"
+ "/api/multicloud-titanium_cloud/v0/windriver-hudson-dc_RegionOne/"
"registry"), TEST_REGISTER_ENDPOINT_REQUEST,
HTTP_X_AUTH_TOKEN=mock_info.MOCK_TOKEN_ID)
@@ -442,7 +442,7 @@ class TestRegistration(test_base.TestRequest):
})
response = self.client.post((
- "/api/multicloud-titaniumcloud/v0/windriver-hudson-dc_RegionOne/"
+ "/api/multicloud-titanium_cloud/v0/windriver-hudson-dc_RegionOne/"
"registry"), TEST_REGISTER_ENDPOINT_REQUEST,
HTTP_X_AUTH_TOKEN=mock_info.MOCK_TOKEN_ID)