aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2009-12-24 23:01:39 +0100
committerGuido Günther <agx@sigxcpu.org>2009-12-24 23:34:10 +0100
commit7ad35fb9432f1206c1ae338c4052810ecabb9420 (patch)
treeb1e8284729c8033a7b5bbb090ad5579d89478b6f
parent74955ab7eaeba75dee1326ab660c8abd0726a2c8 (diff)
Add other gbp-* commands
-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 413b2370..eba64c12 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\:·: