summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-07-11 18:47:12 +0200
committerGuido Günther <agx@sigxcpu.org>2014-07-11 19:42:32 +0200
commitc5f9fedeb25646b32134e0f82b2ea64854d3718d (patch)
treeccbd5118b75e628ae324f3797c03fddc195d5996
parent8771fbcf584d1d5f6eaa8aad9dc9978e94176dfc (diff)
Drop unused variable
-rw-r--r--tests/test_debiandistro.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_debiandistro.py b/tests/test_debiandistro.py
index c01efd8..b2041ff 100644
--- a/tests/test_debiandistro.py
+++ b/tests/test_debiandistro.py
@@ -94,7 +94,7 @@ class TestDebianDistro(unittest.TestCase):
pkgs = {'pkg1': DebianPkg('pkg1'),
'pkg2': DebianPkg('pkg2'),
}
- with patch('apt_pkg.Cache') as mock:
+ with patch('apt_pkg.Cache'):
DebianDistro.filter_security_updates(pkgs)
apt_pkg_init.assert_called_once_with()
apt_pkg_acquire.assert_called_once_with()