diff options
| author | Julian Andres Klode <jak@debian.org> | 2011-04-05 14:46:16 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2011-04-05 14:46:16 +0200 |
| commit | 5cc6fcb55f1fa50094a56644178c5e728deb83a4 (patch) | |
| tree | eeeac19476dba9ef34122a91d5d528e700c98fb6 /tests/test_apt_cache.py | |
| parent | 4548cac388f26cec60f1cef028421db910385565 (diff) | |
| download | python-apt-5cc6fcb55f1fa50094a56644178c5e728deb83a4.tar.gz | |
Change apt_pkg.Cache() so that passing None for 'progress' results in
no progress output
Diffstat (limited to 'tests/test_apt_cache.py')
| -rw-r--r-- | tests/test_apt_cache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_apt_cache.py b/tests/test_apt_cache.py index cccfc9c8..b4cc650d 100644 --- a/tests/test_apt_cache.py +++ b/tests/test_apt_cache.py @@ -70,7 +70,7 @@ class TestAptCache(unittest.TestCase): def test_low_level_pkg_provides(self): # low level cache provides list of the pkg - cache = apt_pkg.Cache() + cache = apt_pkg.Cache(progress=None) l = cache["mail-transport-agent"].provides_list # arbitrary number, just needs to be higher enough self.assertTrue(len(l), 5) |
