diff options
Diffstat (limited to 'scripts/tests/01_wic_test_help.py')
-rw-r--r-- | scripts/tests/01_wic_test_help.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/tests/01_wic_test_help.py b/scripts/tests/01_wic_test_help.py index a64cf2f28e..4aaa66fcbf 100644 --- a/scripts/tests/01_wic_test_help.py +++ b/scripts/tests/01_wic_test_help.py | |||
@@ -28,13 +28,17 @@ class TestWicHelp(unittest.TestCase): | |||
28 | """Test help output of wic (sub)commands""" | 28 | """Test help output of wic (sub)commands""" |
29 | 29 | ||
30 | def setUp(self): | 30 | def setUp(self): |
31 | """This code is executed before each test method.""" | ||
31 | self.main = imp.load_source("wic", "wic").main | 32 | self.main = imp.load_source("wic", "wic").main |
32 | 33 | ||
33 | def testhelp(self): | 34 | def testhelp(self): |
35 | """Test wic --help""" | ||
34 | self.assertRaises(SystemExit, self.main, ['--help']) | 36 | self.assertRaises(SystemExit, self.main, ['--help']) |
35 | 37 | ||
36 | def testcreatehelp(self): | 38 | def testcreatehelp(self): |
39 | """Test wic create --help""" | ||
37 | self.assertRaises(SystemExit, self.main, ['create', '--help']) | 40 | self.assertRaises(SystemExit, self.main, ['create', '--help']) |
38 | 41 | ||
39 | def testlisthelp(self): | 42 | def testlisthelp(self): |
43 | """Test wic list --help""" | ||
40 | self.assertRaises(SystemExit, self.main, ['list', '--help']) | 44 | self.assertRaises(SystemExit, self.main, ['list', '--help']) |