diff options
Diffstat (limited to 'tests/01_test_help.py')
-rw-r--r-- | tests/01_test_help.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/01_test_help.py b/tests/01_test_help.py new file mode 100644 index 0000000..919f75d --- /dev/null +++ b/tests/01_test_help.py @@ -0,0 +1,15 @@ +# vim: set fileencoding=utf-8 : +# +# check if --help works + +import os +import unittest + +class TestSequenceFunctions(unittest.TestCase): + + 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) + +# vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:»·,trail\:·: |