From 56a8672699b9efbb3b26cd7fede15f29d7598ef0 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Wed, 1 Aug 2012 14:45:33 +0200 Subject: Skip tests requiring devscripts if dch is not there so tests don't fail on rpm based systems. --- tests/11_test_dch_main.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/11_test_dch_main.py') diff --git a/tests/11_test_dch_main.py b/tests/11_test_dch_main.py index 61cb21d..7c8fee2 100644 --- a/tests/11_test_dch_main.py +++ b/tests/11_test_dch_main.py @@ -28,6 +28,7 @@ cl_debian = """test-package (0.9-1) unstable; urgency=low -- Debian Maintainer Mon, 17 Oct 2011 10:15:22 +0200 """ +@unittest.skipIf(not os.path.exists('/usr/bin/dch'), "Dch not found") class TestScriptDch(DebianGitTestRepo): """Test git-dch""" -- cgit v1.2.3