diff options
| author | dkg | 2018-09-01 05:14:32 -0700 |
|---|---|---|
| committer | jvoisin | 2018-09-01 05:14:32 -0700 |
| commit | e2634f7a5052f0507b245b30e2f2bc25963f863f (patch) | |
| tree | ec8b62ae6a726751f34e74efbce7afbbc3ccc5ef /tests/test_climat2.py | |
| parent | aba9b72d2c9defc253f954d30dfeb3ae3e46d2cc (diff) | |
Logging cleanup
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 e65e47f..af89c0e 100644 --- a/tests/test_climat2.py +++ b/tests/test_climat2.py | |||
| @@ -8,12 +8,12 @@ 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] [-s | -L] [files [files ...]]', stdout) | 11 | self.assertIn(b'usage: mat2 [-h] [-v] [-l] [-c] [-V] [-s | -L] [files [files ...]]', stdout) |
| 12 | 12 | ||
| 13 | def test_no_arg(self): | 13 | def test_no_arg(self): |
| 14 | proc = subprocess.Popen(['./mat2'], stdout=subprocess.PIPE) | 14 | proc = subprocess.Popen(['./mat2'], stdout=subprocess.PIPE) |
| 15 | stdout, _ = proc.communicate() | 15 | stdout, _ = proc.communicate() |
| 16 | self.assertIn(b'usage: mat2 [-h] [-v] [-l] [-c] [-s | -L] [files [files ...]]', stdout) | 16 | self.assertIn(b'usage: mat2 [-h] [-v] [-l] [-c] [-V] [-s | -L] [files [files ...]]', stdout) |
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | class TestVersion(unittest.TestCase): | 19 | class TestVersion(unittest.TestCase): |
