diff --git a/tests/pylorax/test_imgutils.py b/tests/pylorax/test_imgutils.py index 15e1857f..850d5219 100644 --- a/tests/pylorax/test_imgutils.py +++ b/tests/pylorax/test_imgutils.py @@ -264,7 +264,7 @@ class ImgUtilsTest(unittest.TestCase): with tempfile.TemporaryDirectory(prefix="lorax.test.") as work_dir: with tempfile.NamedTemporaryFile(prefix="lorax.test.disk.") as disk_img: mkfakerootdir(work_dir) - graft = {"/etc/yum.repos.d/": "./tests/pylorax/repos/single.repo"} + graft = {work_dir+"/etc/yum.repos.d/": "./tests/pylorax/repos/server-2.repo"} mkext4img(work_dir, disk_img.name, graft=graft) self.assertTrue(os.path.exists(disk_img.name)) file_details = get_file_magic(disk_img.name)