summaryrefslogtreecommitdiff
path: root/tests/test_progress.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-12-11 15:32:02 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2012-12-11 15:32:02 +0100
commit610c1592a0118483651e66d12eea51df0624ebc1 (patch)
treef4ce184c0418eccd47bcde40df1063a4430c6f88 /tests/test_progress.py
parent2ad969f628aee2948a12f8c3ba03572646ac4c5f (diff)
parentc7eb97c2fc8e2f4d3a7e41ac615382657eb95d49 (diff)
downloadpython-apt-610c1592a0118483651e66d12eea51df0624ebc1.tar.gz
merged test-fixes from ubuntu (mostly for dep8)
Diffstat (limited to 'tests/test_progress.py')
-rw-r--r--tests/test_progress.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_progress.py b/tests/test_progress.py
index 3b6285d6..b7bba02f 100644
--- a/tests/test_progress.py
+++ b/tests/test_progress.py
@@ -37,6 +37,8 @@ class TestProgress(unittest.TestCase):
with open("fetch_sources.list","w") as fobj:
fobj.write(deb_line)
apt_pkg.config.set("Dir::Etc::sourcelist", "fetch_sources.list")
+ apt_pkg.config.clear("APT::Update::Post-Invoke")
+ apt_pkg.config.clear("APT::Update::Post-Invoke-Success")
def test_acquire_progress(self):
progress = TestAcquireProgress()