projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b970ca0
)
Skip tests requiring devscripts if dch is not there
author
Guido Günther
<agx@sigxcpu.org>
Wed, 1 Aug 2012 12:45:33 +0000
(14:45 +0200)
committer
Guido Günther
<agx@sigxcpu.org>
Wed, 1 Aug 2012 12:49:37 +0000
(14:49 +0200)
so tests don't fail on rpm based systems.
tests/11_test_dch_main.py
patch
|
blob
|
history
diff --git
a/tests/11_test_dch_main.py
b/tests/11_test_dch_main.py
index
61cb21d
..
7c8fee2
100644
(file)
--- 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"""