aboutsummaryrefslogtreecommitdiff
path: root/tests/test_debianpkg.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-09-23 13:15:27 +0200
committerGuido Günther <agx@sigxcpu.org>2016-09-23 13:15:27 +0200
commit9ffc5cbb599ea3859804979f1570d17a5c0373a2 (patch)
tree8118b317885ac543c1399497bdf9643c8b887340 /tests/test_debianpkg.py
parentead569ed946d5e7414ec4c328d4d8b2a6bb3009c (diff)
parent48651cda01095017ddc5e67a2491c02a44027ab5 (diff)
Merge tag 'v0.0.12' into debian/master
whatmaps v0.0.12
Diffstat (limited to 'tests/test_debianpkg.py')
-rw-r--r--tests/test_debianpkg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_debianpkg.py b/tests/test_debianpkg.py
index 72ce8fb..6c130ed 100644
--- a/tests/test_debianpkg.py
+++ b/tests/test_debianpkg.py
@@ -20,10 +20,10 @@ from mock import patch
from whatmaps.debianpkg import DebianPkg
+
class TestDebianPkg(unittest.TestCase):
def test_services(self):
with patch('whatmaps.pkg.Pkg._get_contents') as mock:
mock.return_value = ['/etc/init.d/aservice', '/usr/bin/afile']
p = DebianPkg('doesnotmatter')
self.assertEqual(p.services, ['aservice'])
-