aboutsummaryrefslogtreecommitdiff
path: root/tests/01_test_help.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/01_test_help.py')
-rw-r--r--tests/01_test_help.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/01_test_help.py b/tests/01_test_help.py
index 413b237..eba64c1 100644
--- a/tests/01_test_help.py
+++ b/tests/01_test_help.py
@@ -6,10 +6,15 @@ import os
import unittest
class TestHelp(unittest.TestCase):
-
- def testhelp(self):
+ """Test help output of gbp commands"""
+ def testHelp(self):
for prog in [ "buildpackage", "import-orig", "import-dsc", "dch" ]:
ret = os.system("./git-%s --help >/dev/null" % prog)
self.assertEqual(ret, 0)
+ def testHelpGbp(self):
+ for prog in [ "pull", "clone" ]:
+ ret = os.system("./gbp-%s --help >/dev/null" % prog)
+ self.assertEqual(ret, 0)
+
# vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:»·,trail\:·: