diff options
author | Guido Günther <agx@sigxcpu.org> | 2012-08-01 14:45:33 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2012-08-01 14:49:37 +0200 |
commit | 56a8672699b9efbb3b26cd7fede15f29d7598ef0 (patch) | |
tree | 39a1ed6c080b55a1d52d8a48fc5d7ad4ef7b118e /tests/11_test_dch_main.py | |
parent | b970ca002ac0eeac73bd5bad376dc82062d53928 (diff) |
Skip tests requiring devscripts if dch is not there
so tests don't fail on rpm based systems.
Diffstat (limited to 'tests/11_test_dch_main.py')
-rw-r--r-- | tests/11_test_dch_main.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/11_test_dch_main.py b/tests/11_test_dch_main.py index 61cb21d1..7c8fee2a 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 <maint@debian.org> 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""" |