summaryrefslogtreecommitdiff
path: root/openstackclient/tests/image
diff options
context:
space:
mode:
authorMarc Abramowitz <marc@marc-abramowitz.com>2016-07-07 11:18:50 -0700
committerMarc Abramowitz <marc@marc-abramowitz.com>2016-07-11 20:31:13 -0700
commit8bbf30498eb34990cb9bc7c7af418216d47f0421 (patch)
tree18ded21fdbfe6a136b7d898ae62a01c9d7513278 /openstackclient/tests/image
parent5a21eb25558c4820bdf1eec3f0d25fca00e7fd24 (diff)
downloadpython-openstackclient-8bbf30498eb34990cb9bc7c7af418216d47f0421.tar.gz
image list: Add Checksum column
The checksum could potentially be useful for spotting duplicated images or checking if images with the same name are identical or different. Closes-Bug: #1602073 Change-Id: Ia0c41970c846d550de14297e18bc738e847e5a3b
Diffstat (limited to 'openstackclient/tests/image')
-rw-r--r--openstackclient/tests/image/v1/test_image.py2
-rw-r--r--openstackclient/tests/image/v2/test_image.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/openstackclient/tests/image/v1/test_image.py b/openstackclient/tests/image/v1/test_image.py
index 14aa331f..cf08d138 100644
--- a/openstackclient/tests/image/v1/test_image.py
+++ b/openstackclient/tests/image/v1/test_image.py
@@ -363,6 +363,7 @@ class TestImageList(TestImage):
'Disk Format',
'Container Format',
'Size',
+ 'Checksum',
'Status',
'Visibility',
'Protected',
@@ -378,6 +379,7 @@ class TestImageList(TestImage):
'',
'',
'',
+ '',
'public',
False,
image_fakes.image_owner,
diff --git a/openstackclient/tests/image/v2/test_image.py b/openstackclient/tests/image/v2/test_image.py
index 592def21..763f71e2 100644
--- a/openstackclient/tests/image/v2/test_image.py
+++ b/openstackclient/tests/image/v2/test_image.py
@@ -643,6 +643,7 @@ class TestImageList(TestImage):
'Disk Format',
'Container Format',
'Size',
+ 'Checksum',
'Status',
'Visibility',
'Protected',
@@ -658,6 +659,7 @@ class TestImageList(TestImage):
'',
'',
'',
+ '',
self._image.visibility,
self._image.protected,
self._image.owner,