extra_iso: Add list of variants to metadata

The main variant is already available, this patch adds information about
additional variants that are included in the image.

JIRA: COMPOSE-2917
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2018-09-27 14:50:47 +02:00
parent 1aff7fc3ac
commit aab2fc4519
3 changed files with 20 additions and 6 deletions

View file

@ -147,7 +147,7 @@ class ExtraIsosThreadTest(helpers.PungiTestCase):
aitm.call_args_list,
[mock.call(compose, server, 'x86_64',
os.path.join(self.topdir, 'compose/Server/x86_64/iso/my.iso'),
True, 1, 1, unified=True)]
True, additional_variants=["Client"])]
)
def test_binary_image_custom_naming(self, aitm, rcc, gef, gic, gfn, gvi):
@ -188,7 +188,7 @@ class ExtraIsosThreadTest(helpers.PungiTestCase):
aitm.call_args_list,
[mock.call(compose, server, 'x86_64',
os.path.join(self.topdir, 'compose/Server/x86_64/iso/my.iso'),
False, 1, 1, unified=True)]
False, additional_variants=["Client"])]
)
def test_source_is_not_bootable(self, aitm, rcc, gef, gic, gfn, gvi):
@ -230,7 +230,7 @@ class ExtraIsosThreadTest(helpers.PungiTestCase):
aitm.call_args_list,
[mock.call(compose, server, 'src',
os.path.join(self.topdir, 'compose/Server/source/iso/my.iso'),
False, 1, 1, unified=True)]
False, additional_variants=["Client"])]
)
def test_failable_failed(self, aitm, rcc, gef, gic, gfn, gvi):