iotests: specify some unsupported_imgopts for python iotests

We are going to support IMGOPTS for python iotests. Still some iotests
will not work with common IMGOPTS used with bash iotests like
specifying refcount_bits and compat qcow2 options. So we
should define corresponding unsupported_imgopts for now.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20211223160144.1097696-4-vsementsov@virtuozzo.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
This commit is contained in:
Vladimir Sementsov-Ogievskiy 2021-12-23 17:01:28 +01:00 committed by Hanna Reitz
parent 7c15400cdd
commit b30b807724
15 changed files with 30 additions and 15 deletions

View file

@ -22,7 +22,8 @@
import iotests
from iotests import qemu_img_create, file_path, log
iotests.script_initialize(supported_fmts=['qcow2'])
iotests.script_initialize(supported_fmts=['qcow2'],
unsupported_imgopts=['compat'])
disk, top = file_path('disk', 'top')
size = 1024 * 1024