summaryrefslogtreecommitdiff
path: root/openstackclient/tests/functional/image
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/tests/functional/image')
-rw-r--r--openstackclient/tests/functional/image/v1/test_image.py2
-rw-r--r--openstackclient/tests/functional/image/v2/test_image.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/openstackclient/tests/functional/image/v1/test_image.py b/openstackclient/tests/functional/image/v1/test_image.py
index fa073f99..46b22134 100644
--- a/openstackclient/tests/functional/image/v1/test_image.py
+++ b/openstackclient/tests/functional/image/v1/test_image.py
@@ -107,6 +107,6 @@ class ImageTests(base.TestCase):
self.NAME
))
self.assertEqual(
- "a='b', c='d'",
+ {'a': 'b', 'c': 'd'},
json_output["properties"],
)
diff --git a/openstackclient/tests/functional/image/v2/test_image.py b/openstackclient/tests/functional/image/v2/test_image.py
index 278ba5b9..3ba2b51c 100644
--- a/openstackclient/tests/functional/image/v2/test_image.py
+++ b/openstackclient/tests/functional/image/v2/test_image.py
@@ -122,7 +122,7 @@ class ImageTests(base.TestCase):
self.NAME
))
self.assertEqual(
- "a='b', c='d'",
+ {'a': 'b', 'c': 'd'},
json_output["properties"],
)
@@ -152,7 +152,7 @@ class ImageTests(base.TestCase):
self.NAME
))
self.assertEqual(
- '01',
+ ['01'],
json_output["tags"],
)
@@ -166,7 +166,7 @@ class ImageTests(base.TestCase):
self.NAME
))
self.assertEqual(
- '',
+ [],
json_output["tags"],
)