summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/swagger/tests.py
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2018-09-03 08:46:12 +0000
committerBin Yang <bin.yang@windriver.com>2018-09-03 08:46:12 +0000
commit0ac4f904fae7793a3909f6db34ad9b3c35a08c12 (patch)
treeac9239304a11abd8429f4f6e36ef407b51d012f5 /windriver/titanium_cloud/swagger/tests.py
parent1a4ae5657da11a59bd5cbde5240450f5db69e379 (diff)
Add new namespace to workaround ISTIO hostname
ISTIO restrains the usage of _ in hostname Issue-ID: MULTICLOUD-335 Change-Id: I54c712aea1a95c6aaac7d50c3b07472730608503 Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud/swagger/tests.py')
-rw-r--r--windriver/titanium_cloud/swagger/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/windriver/titanium_cloud/swagger/tests.py b/windriver/titanium_cloud/swagger/tests.py
index 83fe5409..fde26217 100644
--- a/windriver/titanium_cloud/swagger/tests.py
+++ b/windriver/titanium_cloud/swagger/tests.py
@@ -26,7 +26,7 @@ class SampleViewTest(unittest.TestCase):
pass
def test_sample(self):
- response = self.client.get("/api/multicloud-titanium_cloud/v0/swagger.json")
+ response = self.client.get("/api/multicloud-titaniumcloud/v0/swagger.json")
self.assertEqual(status.HTTP_200_OK, response.status_code, response.content)
# resp_data = response.json()
# self.assertEqual({"status": "active"}, resp_data)