Speed up test_dnfbase.py

Calling get_base_object is no longer needed, this speeds things up by
not unnecessarily downloading metadata.
This commit is contained in:
Brian C. Lane 2018-05-30 13:49:30 -07:00
parent 1034cfd9a7
commit 666d7f1e03

View File

@ -108,6 +108,5 @@ class CreateDnfDirsTest(unittest.TestCase):
# will create the above directory if missing # will create the above directory if missing
make_dnf_dirs(config) make_dnf_dirs(config)
_ = get_base_object(config)
self.assertTrue(os.path.exists(self.tmp_dir + '/var/tmp/composer/dnf/root')) self.assertTrue(os.path.exists(self.tmp_dir + '/var/tmp/composer/dnf/root'))