diff --git a/tests/pylorax/repos/multiple.repo b/tests/pylorax/repos/server-1.repo similarity index 100% rename from tests/pylorax/repos/multiple.repo rename to tests/pylorax/repos/server-1.repo diff --git a/tests/pylorax/repos/single.repo b/tests/pylorax/repos/server-2.repo similarity index 100% rename from tests/pylorax/repos/single.repo rename to tests/pylorax/repos/server-2.repo diff --git a/tests/pylorax/repos/other.repo b/tests/pylorax/repos/server-3.repo similarity index 100% rename from tests/pylorax/repos/other.repo rename to tests/pylorax/repos/server-3.repo diff --git a/tests/pylorax/test_server.py b/tests/pylorax/test_server.py index bc6bbb56..d07a895e 100644 --- a/tests/pylorax/test_server.py +++ b/tests/pylorax/test_server.py @@ -103,9 +103,9 @@ class ServerTestCase(unittest.TestCase): make_dnf_dirs(server.config["COMPOSER_CFG"]) - # copy over the test dnf repositories + # copy over the test_server dnf repositories dnf_repo_dir = server.config["COMPOSER_CFG"].get("composer", "repo_dir") - for f in glob("./tests/pylorax/repos/*.repo"): + for f in glob("./tests/pylorax/repos/server-*.repo"): shutil.copy2(f, dnf_repo_dir) # Modify fedora vs. rawhide tests when running on rawhide