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:
parent
1034cfd9a7
commit
666d7f1e03
@ -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'))
|
||||||
|
Loading…
Reference in New Issue
Block a user