fix unit tests

This commit is contained in:
Tomas Kopecek 2023-03-14 14:15:42 +01:00
parent 0eedf36c41
commit 0986c118fd
2 changed files with 0 additions and 16 deletions

View file

@ -228,13 +228,6 @@ class TestBuildImageOz(utils.CliTestCase):
self.assertEqual(str(cm.exception),
'No such destination tag: %s' % self.target_info['dest_tag_name'])
self.session.getTag.return_value = self.tag_info
with self.assertRaises(koji.GenericError) as cm:
self.task_options.ksurl = None
self.task_options.scratch = False
_build_image_oz(self.options, self.task_options, self.session, self.args)
self.assertEqual(str(cm.exception), 'Non-scratch builds must provide ksurl')
class TestImageBuild(utils.CliTestCase):
def setUp(self):