summaryrefslogtreecommitdiff
path: root/tests/test_apt_cache.py
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2011-04-05 14:46:16 +0200
committerJulian Andres Klode <jak@debian.org>2011-04-05 14:46:16 +0200
commit5cc6fcb55f1fa50094a56644178c5e728deb83a4 (patch)
treeeeeac19476dba9ef34122a91d5d528e700c98fb6 /tests/test_apt_cache.py
parent4548cac388f26cec60f1cef028421db910385565 (diff)
downloadpython-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.py2
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)