From 3baa386ed45016c26fc02f9dd177a4783f4b71de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Mon, 8 Feb 2016 10:54:24 +0100 Subject: [PATCH] [image-build] Fix failable tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A missing input value was causing tests to not check the expected condition (even though they were still passing). Signed-off-by: Lubomír Sedlář --- tests/test_imagebuildphase.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_imagebuildphase.py b/tests/test_imagebuildphase.py index e3c50fee..0bb4fedf 100755 --- a/tests/test_imagebuildphase.py +++ b/tests/test_imagebuildphase.py @@ -504,6 +504,7 @@ class TestCreateImageBuildThread(unittest.TestCase): "image_dir": '/image_dir/Client/%(arch)s', "relative_image_dir": 'image_dir/Client/%(arch)s', "link_type": 'hardlink-or-copy', + 'scratch': False, } koji_wrapper = KojiWrapper.return_value koji_wrapper.run_blocking_cmd.return_value = { @@ -552,6 +553,7 @@ class TestCreateImageBuildThread(unittest.TestCase): "image_dir": '/image_dir/Client/%(arch)s', "relative_image_dir": 'image_dir/Client/%(arch)s', "link_type": 'hardlink-or-copy', + 'scratch': False, } def boom(*args, **kwargs):