aboutsummaryrefslogtreecommitdiff
path: root/tests/test_distro.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-06-29 19:17:53 +0200
committerGuido Günther <agx@sigxcpu.org>2015-06-29 19:17:53 +0200
commit54ec59d5b35d89d64ebb01b481a412aded5c452e (patch)
tree943dc025c77a34244fbdf5a8b57864c67e59f8ad /tests/test_distro.py
parentd0bdc62cddff86b8601bb0e32b8a115be65032ff (diff)
parent57006507c68b99c5e9ee6dcfb526aaae02f1e9b8 (diff)
Merge tag 'v0.0.10' into debian/master
whatmaps 0.0.10
Diffstat (limited to 'tests/test_distro.py')
-rw-r--r--tests/test_distro.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_distro.py b/tests/test_distro.py
index 88fa984..409c1c6 100644
--- a/tests/test_distro.py
+++ b/tests/test_distro.py
@@ -36,10 +36,10 @@ class TestDistro(unittest.TestCase):
self.assertEqual(Distro.service_blacklist, set())
self.assertIsNone(Distro.id)
# Pure virtual methods
- self.assertRaises(Distro.pkg, None, None, NotImplementedError)
- self.assertRaises(Distro.pkg_by_file, None, NotImplementedError)
- self.assertRaises(Distro.restart_service_cmd, None, NotImplementedError)
- self.assertRaises(Distro.restart_service, None, NotImplementedError)
+ self.assertRaises(NotImplementedError, Distro.pkg, None)
+ self.assertRaises(NotImplementedError, Distro.pkg_by_file, None)
+ self.assertRaises(NotImplementedError, Distro.restart_service_cmd, None)
+ self.assertRaises(NotImplementedError, Distro.restart_service, None)
# Lookup methods
self.assertEqual(Distro.pkg_services(Pkg), [])
self.assertEqual(Distro.pkg_service_blacklist(Pkg), [])