aboutsummaryrefslogtreecommitdiff
path: root/tests/01_test_help.py
blob: 413b2370aed3277f98e00792d9c0e185c2b95ca8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# vim: set fileencoding=utf-8 :
#
# check if --help works

import os
import unittest

class TestHelp(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\:·: