summaryrefslogtreecommitdiffstats
path: root/azure/multicloud_azure/tests/test_syscomm.py
diff options
context:
space:
mode:
Diffstat (limited to 'azure/multicloud_azure/tests/test_syscomm.py')
-rw-r--r--azure/multicloud_azure/tests/test_syscomm.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/azure/multicloud_azure/tests/test_syscomm.py b/azure/multicloud_azure/tests/test_syscomm.py
index 12507a4..5839aca 100644
--- a/azure/multicloud_azure/tests/test_syscomm.py
+++ b/azure/multicloud_azure/tests/test_syscomm.py
@@ -35,3 +35,9 @@ class SyscommTest(unittest.TestCase):
}
}
self.assertEquals(True, syscomm.verifyKeystoneV2(param))
+
+ def test_json_response(self):
+ data = "abcde"
+ res = data
+ content_type = "text/plain"
+ self.assertEquals((res, content_type), syscomm.jsonResponse(data))