kojiwrapper: Stop being smart about local access
Rather than trying to use local access when it's accessible, let user make the decision: * if koji_cache is configured use it and download stuff * if not, fall back to local access Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
aa0aae3d3e
commit
0d3cd150bd
3 changed files with 22 additions and 9 deletions
|
|
@ -256,7 +256,7 @@ class DummyCompose(object):
|
|||
self.containers_metadata = {}
|
||||
self.load_old_compose_config = mock.Mock(return_value=None)
|
||||
self.koji_downloader = DummyKojiDownloader()
|
||||
self.koji_downloader.cache_dir = "/prefix"
|
||||
self.koji_downloader.path_prefix = "/prefix"
|
||||
|
||||
def setup_optional(self):
|
||||
self.all_variants["Server-optional"] = MockVariant(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue