aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-09-23 11:56:01 +0200
committerGuido Günther <agx@sigxcpu.org>2016-09-23 12:06:44 +0200
commit4d3b85c54bef1ca6bf50dd5e9d7fb42177a48951 (patch)
tree934494196ac3243af287dd9a601b1ae2230a05fa
parent5297e8191f4ed83f69f73d696f3d372e973a0115 (diff)
tests/test_debianpkg.py: flake8 clean
-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'])
-