aboutsummaryrefslogtreecommitdiff
path: root/tests/test_debianpkg.py
diff options
context:
space:
mode:
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'])
-