diff options
author | Guido Günther <agx@sigxcpu.org> | 2009-12-24 23:01:39 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2009-12-24 23:34:10 +0100 |
commit | 7ad35fb9432f1206c1ae338c4052810ecabb9420 (patch) | |
tree | b1e8284729c8033a7b5bbb090ad5579d89478b6f /tests | |
parent | 74955ab7eaeba75dee1326ab660c8abd0726a2c8 (diff) |
Add other gbp-* commands
Diffstat (limited to 'tests')
-rw-r--r-- | tests/01_test_help.py | 9 |
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\:·: |