iotests/118: Create test classes dynamically
commitdfc828941c0f1771c5861fce11a428c8c64a206d
authorKevin Wolf <kwolf@redhat.com>
Tue, 30 Jul 2019 14:25:55 +0000 (30 16:25 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 16 Aug 2019 08:25:16 +0000 (16 10:25 +0200)
tree9d70aa281102410813a2d4b54c005adb47481781
parentdfa26a110c7e88887ed5732c834ed5c1d22bd2e6
iotests/118: Create test classes dynamically

We're getting a ridiculous number of child classes of
TestInitiallyFilled and TestInitiallyEmpty that differ only in a few
attributes that we want to test in all combinations.

Instead of explicitly writing down every combination, let's use a loop
and create those classes dynamically.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/118