diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-07-01 19:51:13 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-07-01 19:51:13 +0000 |
| commit | 60d1417c2f47006c522c6ed1b973ab3bbb84c69f (patch) | |
| tree | cbff43e3af5337fa9dbd05f76504ebef89ebe39a /openstackclient/tests | |
| parent | 50a80ab97eb53bb95397e8890b49e990372fb485 (diff) | |
| parent | ce65164155dcf6dddf7695fbc5ca6352c121cc04 (diff) | |
| download | python-openstackclient-60d1417c2f47006c522c6ed1b973ab3bbb84c69f.tar.gz | |
Merge "Add functional tests for image set"
Diffstat (limited to 'openstackclient/tests')
| -rw-r--r-- | openstackclient/tests/image/v1/fakes.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openstackclient/tests/image/v1/fakes.py b/openstackclient/tests/image/v1/fakes.py index 972e6415..95a8a39c 100644 --- a/openstackclient/tests/image/v1/fakes.py +++ b/openstackclient/tests/image/v1/fakes.py @@ -30,7 +30,7 @@ image_properties = { 'Beta': 'b', 'Gamma': 'g', } -image_properties_str = "{'Alpha': 'a', 'Beta': 'b', 'Gamma': 'g'}" +image_properties_str = "Alpha='a', Beta='b', Gamma='g'" image_data = 'line 1\nline 2\n' IMAGE = { @@ -47,7 +47,9 @@ IMAGE = { } IMAGE_columns = tuple(sorted(IMAGE)) -IMAGE_data = tuple((IMAGE[x] for x in sorted(IMAGE))) +IMAGE_output = dict(IMAGE) +IMAGE_output['properties'] = image_properties_str +IMAGE_data = tuple((IMAGE_output[x] for x in sorted(IMAGE_output))) class FakeImagev1Client(object): |
