diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2014-05-11 13:26:35 -0500 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2014-11-14 16:13:01 -0600 |
| commit | 936722d59f4e28e4f6c578074eeb75152458d821 (patch) | |
| tree | bb1866e6ab5971c3c27463d61268d62c2ebe74fa /openstackclient/tests/image | |
| parent | c55fdb6f6d1fc356ee03cf21fdf3d5b99418c921 (diff) | |
| download | python-openstackclient-936722d59f4e28e4f6c578074eeb75152458d821.tar.gz | |
Add arg to 'server image create' tests
The 'protected' column was not being checked. Also add it to
image.fakes.IMAGE.
Change-Id: Ie431e9871a7da78b5a3924bfbc51d5575d994d86
Diffstat (limited to 'openstackclient/tests/image')
| -rw-r--r-- | openstackclient/tests/image/v2/fakes.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openstackclient/tests/image/v2/fakes.py b/openstackclient/tests/image/v2/fakes.py index 96255cd4..1b7edf08 100644 --- a/openstackclient/tests/image/v2/fakes.py +++ b/openstackclient/tests/image/v2/fakes.py @@ -22,12 +22,15 @@ from openstackclient.tests import utils image_id = 'im1' image_name = 'graven' image_owner = 'baal' +image_public = False +image_protected = False IMAGE = { 'id': image_id, 'name': image_name, - 'is_public': False, + 'is_public': image_public, 'owner': image_owner, + 'protected': image_protected, } |
