diff options
author | Guido Günther <agx@sigxcpu.org> | 2009-08-23 13:34:38 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2009-08-23 17:28:50 +0200 |
commit | 6cbbddf18e2a93c1518faec20ee3f18f64159b05 (patch) | |
tree | 8a46989240b888dd7b333e49af0fe71e716f112e | |
parent | c84fd78d69bfd40cd3edcd608428eb9e4c394511 (diff) | |
download | git-buildpackage-6cbbddf18e2a93c1518faec20ee3f18f64159b05.tar.gz git-buildpackage-6cbbddf18e2a93c1518faec20ee3f18f64159b05.tar.bz2 git-buildpackage-6cbbddf18e2a93c1518faec20ee3f18f64159b05.zip |
add unit test for --help
-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 00000000..919f75df --- /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\:·: |