From 666d7f1e03ee24f6ccf0e09fe84b648bf013e176 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Wed, 30 May 2018 13:49:30 -0700 Subject: [PATCH] Speed up test_dnfbase.py Calling get_base_object is no longer needed, this speeds things up by not unnecessarily downloading metadata. --- tests/pylorax/test_dnfbase.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/pylorax/test_dnfbase.py b/tests/pylorax/test_dnfbase.py index 698985ac..e32978cb 100644 --- a/tests/pylorax/test_dnfbase.py +++ b/tests/pylorax/test_dnfbase.py @@ -108,6 +108,5 @@ class CreateDnfDirsTest(unittest.TestCase): # will create the above directory if missing make_dnf_dirs(config) - _ = get_base_object(config) self.assertTrue(os.path.exists(self.tmp_dir + '/var/tmp/composer/dnf/root'))