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:
parent
d9d73a128b
commit
45f4d3e633
@ -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'))
|
||||
|
Loading…
Reference in New Issue
Block a user