summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-09-07 14:08:21 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-09-07 14:08:21 +0200
commit5953f588ff89aa9efb2ab9c9525f8fea2e10fdf9 (patch)
treedad5d85b1d9d77c640f0f9072ca015e6383b7dee
parent8f68a717533d6809aae8595302027ec8edfdda9f (diff)
parent57c801f9472ac8572110f8958be1089fca6937f1 (diff)
downloadpython-apt-5953f588ff89aa9efb2ab9c9525f8fea2e10fdf9.tar.gz
merged from the mvo branch
-rw-r--r--tests/test_apt_cache.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_apt_cache.py b/tests/test_apt_cache.py
index 2f74a0bd..a5b52ea3 100644
--- a/tests/test_apt_cache.py
+++ b/tests/test_apt_cache.py
@@ -21,6 +21,10 @@ import shutil
class TestAptCache(unittest.TestCase):
""" test the apt cache """
+ def setUp(self):
+ # reset any config manipulations done in the individual tests
+ apt_pkg.init_config()
+
def testAptCache(self):
"""cache: iterate all packages and all dependencies """
cache = apt.Cache()