diff options
Diffstat (limited to 'tests/test_climat2.py')
| -rw-r--r-- | tests/test_climat2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_climat2.py b/tests/test_climat2.py index 6ee84d5..9614347 100644 --- a/tests/test_climat2.py +++ b/tests/test_climat2.py | |||
| @@ -8,13 +8,13 @@ class TestHelp(unittest.TestCase): | |||
| 8 | def test_help(self): | 8 | def test_help(self): |
| 9 | proc = subprocess.Popen(['./mat2', '--help'], stdout=subprocess.PIPE) | 9 | proc = subprocess.Popen(['./mat2', '--help'], stdout=subprocess.PIPE) |
| 10 | stdout, _ = proc.communicate() | 10 | stdout, _ = proc.communicate() |
| 11 | self.assertIn(b'usage: mat2 [-h] [-v] [-l] [-c] [-V] [-u POLICY] [-s | -L] [files [files ...]]', | 11 | self.assertIn(b'usage: mat2 [-h] [-v] [-l] [-c] [-V] [-u policy] [-s | -L] [files [files ...]]', |
| 12 | stdout) | 12 | stdout) |
| 13 | 13 | ||
| 14 | def test_no_arg(self): | 14 | def test_no_arg(self): |
| 15 | proc = subprocess.Popen(['./mat2'], stdout=subprocess.PIPE) | 15 | proc = subprocess.Popen(['./mat2'], stdout=subprocess.PIPE) |
| 16 | stdout, _ = proc.communicate() | 16 | stdout, _ = proc.communicate() |
| 17 | self.assertIn(b'usage: mat2 [-h] [-v] [-l] [-c] [-V] [-u POLICY] [-s | -L] [files [files ...]]', | 17 | self.assertIn(b'usage: mat2 [-h] [-v] [-l] [-c] [-V] [-u policy] [-s | -L] [files [files ...]]', |
| 18 | stdout) | 18 | stdout) |
| 19 | 19 | ||
| 20 | 20 | ||
