summaryrefslogtreecommitdiff
path: root/openstackclient/tests/functional/volume/v1/test_snapshot.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/tests/functional/volume/v1/test_snapshot.py')
-rw-r--r--openstackclient/tests/functional/volume/v1/test_snapshot.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/openstackclient/tests/functional/volume/v1/test_snapshot.py b/openstackclient/tests/functional/volume/v1/test_snapshot.py
index 083cd1b0..5a76a2e9 100644
--- a/openstackclient/tests/functional/volume/v1/test_snapshot.py
+++ b/openstackclient/tests/functional/volume/v1/test_snapshot.py
@@ -204,7 +204,7 @@ class VolumeSnapshotTests(common.BaseVolumeTests):
cmd_output["display_description"],
)
self.assertEqual(
- "Alpha='a', Beta='b'",
+ {'Alpha': 'a', 'Beta': 'b'},
cmd_output["properties"],
)
@@ -221,7 +221,7 @@ class VolumeSnapshotTests(common.BaseVolumeTests):
new_name
))
self.assertEqual(
- "Beta='b'",
+ {'Beta': 'b'},
cmd_output["properties"],
)
@@ -236,7 +236,4 @@ class VolumeSnapshotTests(common.BaseVolumeTests):
'volume snapshot show -f json ' +
new_name
))
- self.assertNotIn(
- "Beta='b'",
- cmd_output["properties"],
- )
+ self.assertEqual({}, cmd_output["properties"])