diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_debiandistro.py | 2 |
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() |