Remove productimg phase
JIRA: COMPOSE-4004 Signed-off-by: Haibo Lin <hlin@redhat.com>
This commit is contained in:
parent
38f6162b46
commit
794d151bef
12 changed files with 371 additions and 753 deletions
|
|
@ -89,8 +89,7 @@ class CheckDependenciesTestCase(unittest.TestCase):
|
|||
def test_isohybrid_not_required_on_arm(self):
|
||||
conf = {
|
||||
'buildinstall_method': 'lorax',
|
||||
'productimg': True,
|
||||
'runroot_tag': 'dummy_tag',
|
||||
'runroot_tag': '',
|
||||
}
|
||||
|
||||
with mock.patch('sys.stdout', new_callable=StringIO) as out:
|
||||
|
|
@ -129,21 +128,6 @@ class CheckDependenciesTestCase(unittest.TestCase):
|
|||
self.assertEqual('', out.getvalue())
|
||||
self.assertTrue(result)
|
||||
|
||||
def test_genisoimg_needed_for_productimg(self):
|
||||
conf = {
|
||||
'runroot_tag': 'dummy_tag',
|
||||
'productimg': True,
|
||||
'buildinstall_method': 'lorax',
|
||||
}
|
||||
|
||||
with mock.patch('sys.stdout', new_callable=StringIO) as out:
|
||||
with mock.patch('os.path.exists') as exists:
|
||||
exists.side_effect = self.dont_find(['/usr/bin/genisoimage'])
|
||||
result = checks.check(conf)
|
||||
|
||||
self.assertIn('genisoimage', out.getvalue())
|
||||
self.assertFalse(result)
|
||||
|
||||
def test_requires_modifyrepo(self):
|
||||
with mock.patch('sys.stdout', new_callable=StringIO) as out:
|
||||
with mock.patch('os.path.exists') as exists:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue