summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/apt-test.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/apt-test.py b/tests/apt-test.py
index 714101d9..4e41ae00 100644
--- a/tests/apt-test.py
+++ b/tests/apt-test.py
@@ -3,8 +3,5 @@ import apt
if __name__ == "__main__":
progress = apt.progress.OpTextProgress()
cache = apt.Cache(progress)
- print "Packages count: %s" % len(cache.keys())
- for key in cache.keys():
- p = cache[key]
- if p == None or p.Name() == None or p.Name == "" or p._pkg == None:
- print "Something strange is going on"
+ print cache
+