|
@@ -62,7 +62,7 @@ with iotests.FilePath('t.luks') as disk_path, \
|
|
|
'driver=luks,file.driver=file,file.filename=%s,key-secret=keysec0' % (disk_path),
|
|
|
filter_path=disk_path,
|
|
|
extra_args=['--object', 'secret,id=keysec0,data=foo'],
|
|
|
- imgopts=True)
|
|
|
+ use_image_opts=True)
|
|
|
|
|
|
#
|
|
|
# Successful image creation (with non-default options)
|
|
@@ -96,7 +96,7 @@ with iotests.FilePath('t.luks') as disk_path, \
|
|
|
'driver=luks,file.driver=file,file.filename=%s,key-secret=keysec0' % (disk_path),
|
|
|
filter_path=disk_path,
|
|
|
extra_args=['--object', 'secret,id=keysec0,data=foo'],
|
|
|
- imgopts=True)
|
|
|
+ use_image_opts=True)
|
|
|
|
|
|
#
|
|
|
# Invalid BlockdevRef
|
|
@@ -132,7 +132,7 @@ with iotests.FilePath('t.luks') as disk_path, \
|
|
|
'driver=luks,file.driver=file,file.filename=%s,key-secret=keysec0' % (disk_path),
|
|
|
filter_path=disk_path,
|
|
|
extra_args=['--object', 'secret,id=keysec0,data=foo'],
|
|
|
- imgopts=True)
|
|
|
+ use_image_opts=True)
|
|
|
|
|
|
#
|
|
|
# Invalid sizes
|
|
@@ -176,4 +176,4 @@ with iotests.FilePath('t.luks') as disk_path, \
|
|
|
'driver=luks,file.driver=file,file.filename=%s,key-secret=keysec0' % (disk_path),
|
|
|
filter_path=disk_path,
|
|
|
extra_args=['--object', 'secret,id=keysec0,data=foo'],
|
|
|
- imgopts=True)
|
|
|
+ use_image_opts=True)
|