From 936722d59f4e28e4f6c578074eeb75152458d821 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Sun, 11 May 2014 13:26:35 -0500 Subject: Add arg to 'server image create' tests The 'protected' column was not being checked. Also add it to image.fakes.IMAGE. Change-Id: Ie431e9871a7da78b5a3924bfbc51d5575d994d86 --- openstackclient/tests/image/v2/fakes.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'openstackclient/tests/image') 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, } -- cgit v1.2.1