~1chb1n/charm-helpers/update-egg

« back to all changes in this revision

Viewing changes to tests/fetch/test_fetch.py

  • Committer: Stuart Bishop
  • Date: 2016-07-14 11:55:11 UTC
  • mfrom: (607.1.1 shush-apt)
  • Revision ID: stuart.bishop@canonical.com-20160714115511-3ngrlp9ajfm7z9v6
[stub,r=james-page] Make fetch.apt_cache() quiet by default

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
}
32
32
 
33
33
 
34
 
def fake_apt_cache():
 
34
def fake_apt_cache(in_memory=True, progress=None):
35
35
    def _get(package):
36
36
        pkg = MagicMock()
37
37
        if package not in FAKE_APT_CACHE: