From 30098a52e3dbf070b49ef0840966d84e40a8eb3d Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Thu, 21 Feb 2019 10:10:11 -0800 Subject: [PATCH] tests: Fix makeFakeRPM calls (cherry picked from commit 28bd68793b24fbdddda7a42c685f63b11091eaba) --- tests/pylorax/test_ltmpl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/pylorax/test_ltmpl.py b/tests/pylorax/test_ltmpl.py index 45e4c6d2..91704039 100644 --- a/tests/pylorax/test_ltmpl.py +++ b/tests/pylorax/test_ltmpl.py @@ -111,11 +111,11 @@ class LoraxTemplateRunnerTestCase(unittest.TestCase): makeFakeRPM(self.repo1_dir, "fake-milhouse", 0, "1.0.0", "1") makeFakeRPM(self.repo1_dir, "fake-bart", 2, "1.13.0", "6") makeFakeRPM(self.repo1_dir, "fake-homer", 0, "0.4.0", "2") - makeFakeRPM(self.repo1_dir, "lots-of-files", 0, "0.1.1", 1, + makeFakeRPM(self.repo1_dir, "lots-of-files", 0, "0.1.1", "1", ["/lorax-files/file-one.txt", "/lorax-files/file-two.txt", "/lorax-files/file-three.txt"]) - makeFakeRPM(self.repo1_dir, "known-path", 0, "0.1.8", 1, ["/known-path/file-one.txt"]) + makeFakeRPM(self.repo1_dir, "known-path", 0, "0.1.8", "1", ["/known-path/file-one.txt"]) os.system("createrepo_c " + self.repo1_dir) self.repo2_dir = tempfile.mkdtemp(prefix="lorax.test.repo.")