@@ -100,6 +100,7 @@ def test_image_reserve_no_options(self, raw_input):
100100 # ImageManager.create(name=, **)
101101 self .client .create_image .assert_called_with (
102102 name = self .new_image .name ,
103+ allow_duplicates = True ,
103104 container_format = image .DEFAULT_CONTAINER_FORMAT ,
104105 disk_format = image .DEFAULT_DISK_FORMAT ,
105106 )
@@ -152,6 +153,7 @@ def test_image_reserve_options(self, raw_input):
152153 # ImageManager.create(name=, **)
153154 self .client .create_image .assert_called_with (
154155 name = self .new_image .name ,
156+ allow_duplicates = True ,
155157 container_format = 'ovf' ,
156158 disk_format = 'ami' ,
157159 min_disk = 10 ,
@@ -239,14 +241,15 @@ def test_image_create_file(self):
239241 # ImageManager.create(name=, **)
240242 self .client .create_image .assert_called_with (
241243 name = self .new_image .name ,
244+ allow_duplicates = True ,
242245 container_format = image .DEFAULT_CONTAINER_FORMAT ,
243246 disk_format = image .DEFAULT_DISK_FORMAT ,
244247 is_protected = self .new_image .is_protected ,
245248 visibility = self .new_image .visibility ,
246249 Alpha = '1' ,
247250 Beta = '2' ,
248251 tags = self .new_image .tags ,
249- filename = imagefile .name
252+ filename = imagefile .name ,
250253 )
251254
252255 self .assertEqual (
@@ -288,6 +291,7 @@ def test_image_create_import(self, raw_input):
288291 # ImageManager.create(name=, **)
289292 self .client .create_image .assert_called_with (
290293 name = self .new_image .name ,
294+ allow_duplicates = True ,
291295 container_format = image .DEFAULT_CONTAINER_FORMAT ,
292296 disk_format = image .DEFAULT_DISK_FORMAT ,
293297 use_import = True
0 commit comments