aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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 a166aa8..771d1b6 100644
--- a/tests/test_debiandistro.py
+++ b/tests/test_debiandistro.py
@@ -85,7 +85,7 @@ class TestDebianDistro(unittest.TestCase):
with patch('sys.stdin', new_callable=AptPipelineMock):
pkgs = DebianDistro.read_apt_pipeline()
self.assertEqual(len(pkgs), 1)
- self.assertTrue(pkgs.has_key('pkg1'))
+ self.assertIn('pkg1', pkgs)
self.assertTrue(pkgs['pkg1'].name, 'pkg1')
@patch('apt_pkg.init')