Speed up test_dnfbase.py

Calling get_base_object is no longer needed, this speeds things up by
not unnecessarily downloading metadata.

(cherry picked from commit 666d7f1e03)
This commit is contained in:
Brian C. Lane 2018-05-30 13:49:30 -07:00
parent d9d73a128b
commit 45f4d3e633
1 changed files with 0 additions and 1 deletions

View File

@ -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'))