From 13c00e35ea19c8fb49bbbc9d97c8ce0950b4e238 Mon Sep 17 00:00:00 2001 From: Douglas Gibbons Date: Wed, 22 Mar 2017 17:33:24 -0700 Subject: [PATCH] Start of test framework --- test/wait-for-it.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/wait-for-it.py b/test/wait-for-it.py index 88b478c..a004b26 100644 --- a/test/wait-for-it.py +++ b/test/wait-for-it.py @@ -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:"))