aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/12_test_deb.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/12_test_deb.py')
-rw-r--r--tests/12_test_deb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/12_test_deb.py b/tests/12_test_deb.py
index d06bc432..4a2388e2 100644
--- a/tests/12_test_deb.py
+++ b/tests/12_test_deb.py
@@ -136,7 +136,7 @@ Files:
self.assertEquals(dsc.sigs, [])
-@unittest.skipIf(not os.path.exists('/usr/bin/dpkg'), 'Dpkg not found')
+@testutils.skip_without_cmd('dpkg')
class TestDpkgCompareVersions(unittest.TestCase):
"""Test L{gbp.deb.DpkgCompareVersions}"""
@@ -160,7 +160,7 @@ class TestDpkgCompareVersions(unittest.TestCase):
self.cmp('_', '_ _')
-@unittest.skipIf(not os.path.exists('/usr/bin/dpkg'), 'Dpkg not found')
+@testutils.skip_without_cmd('dpkg')
class TestDeb(unittest.TestCase):
"""Test L{gbp.deb.__init__} """