buildinstall: Allow overwriting version for lorax
Sometimes the release version can be more specific than what should be exposed to users of the boot iso. JIRA: COMPOSE-3295 Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
75bb48a882
commit
358fdd50ce
4 changed files with 10 additions and 3 deletions
|
|
@ -260,6 +260,7 @@ class TestBuildinstallPhase(PungiTestCase):
|
|||
'add_template_var': ['baz=1'],
|
||||
'add_arch_template_var': ['quux=2'],
|
||||
"rootfs_size": 3,
|
||||
"version": "1.2.3",
|
||||
},
|
||||
'amd64': {'noupgrade': False}
|
||||
}),
|
||||
|
|
@ -290,7 +291,7 @@ class TestBuildinstallPhase(PungiTestCase):
|
|||
# Obtained correct lorax commands.
|
||||
self.assertItemsEqual(
|
||||
loraxCls.return_value.get_lorax_cmd.mock_calls,
|
||||
[mock.call('Test', '1', '1',
|
||||
[mock.call('Test', '1.2.3', '1.2.3',
|
||||
[self.topdir + '/work/x86_64/repo',
|
||||
self.topdir + '/work/x86_64/comps_repo_Server'],
|
||||
self.topdir + '/work/x86_64/buildinstall/Server',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue