summaryrefslogtreecommitdiffhomepage
path: root/tests/30_test_deb_changelog.py
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2018-01-18 16:47:03 +0200
committerGuido Günther <agx@sigxcpu.org>2018-03-01 12:01:30 +0100
commitf1b878c93483dab32b4263d48282fe02c05e9a36 (patch)
tree19cc9cc6a0c4d5c24233d45691f13566ec515682 /tests/30_test_deb_changelog.py
parent042f422cf4adfd46cca7f024f1e941bc7c91c911 (diff)
tests: enable unittests without devscripts
Add some additional skipIf statements, checking for the existence of the debchange tool. Makes it possible to run unit tests in an environment that doesn't have devscripts installed. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'tests/30_test_deb_changelog.py')
-rw-r--r--tests/30_test_deb_changelog.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/30_test_deb_changelog.py b/tests/30_test_deb_changelog.py
index 339864e0..9028621f 100644
--- a/tests/30_test_deb_changelog.py
+++ b/tests/30_test_deb_changelog.py
@@ -8,6 +8,7 @@ also make up the API documentation.
"""
from . import context # noqa: 401
+from . testutils import skip_without_cmd
import os
import unittest
@@ -29,6 +30,7 @@ class TestQuoting(unittest.TestCase):
self.assertEquals(cl.email, 'agx@sigxcpu.org')
+@skip_without_cmd('debchange')
class Test(unittest.TestCase):
def setUp(self):
self.tmpdir = context.new_tmpdir(__name__)