diff options
| author | Akihiro Motoki <amotoki@gmail.com> | 2017-05-15 04:00:53 +0000 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2019-06-22 13:36:46 -0500 |
| commit | 8d63e3f0c38bbcc44db2e82a7e3d0ff5488d45af (patch) | |
| tree | 3b5e5f081097d6d96ca2701716c421bb70112b8f /openstackclient/tests/functional/image/v1 | |
| parent | 1a21f02bc7507120f3a4fe2af12ba7a27b002b44 (diff) | |
| download | python-openstackclient-8d63e3f0c38bbcc44db2e82a7e3d0ff5488d45af.tar.gz | |
Use cliff formattable columns in image commands
Related functional tests are converted into JSON format.
Otherwise, it is not easy to check results.
Partial-Bug: #1687955
Partially implement blueprint osc-formattable-columns
Change-Id: Ib82e15738544975fede0c54cc5eaf239f4c67277
Diffstat (limited to 'openstackclient/tests/functional/image/v1')
| -rw-r--r-- | openstackclient/tests/functional/image/v1/test_image.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/tests/functional/image/v1/test_image.py b/openstackclient/tests/functional/image/v1/test_image.py index 30490bf5..b9774ab5 100644 --- a/openstackclient/tests/functional/image/v1/test_image.py +++ b/openstackclient/tests/functional/image/v1/test_image.py @@ -104,6 +104,6 @@ class ImageTests(base.BaseImageTests): self.name )) self.assertEqual( - "a='b', c='d'", + {'a': 'b', 'c': 'd'}, json_output["properties"], ) |
