Start of test framework

pull/32/head
Douglas Gibbons 7 years ago
parent 7f645ced94
commit 13c00e35ea

@ -28,6 +28,7 @@ class TestWaitForIt(unittest.TestCase):
self.assertEqual(exitcode,1)
def test_help(self):
# Execute with "--help" option and check output
exitcode, out, err = self.execute(self.wait_script+" --help")
# STDERR should begin with "Usage:"
self.assertTrue(err.startswith("Usage:"))

Loading…
Cancel
Save