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 b9c52b5..64345eb 100644 --- a/tests/test_climat2.py +++ b/tests/test_climat2.py | |||
| @@ -6,12 +6,12 @@ class TestHelp(unittest.TestCase): | |||
| 6 | def test_help(self): | 6 | def test_help(self): |
| 7 | proc = subprocess.Popen(['./main.py', '--help'], stdout=subprocess.PIPE) | 7 | proc = subprocess.Popen(['./main.py', '--help'], stdout=subprocess.PIPE) |
| 8 | stdout, _ = proc.communicate() | 8 | stdout, _ = proc.communicate() |
| 9 | self.assertIn(b'usage: main.py [-h] [-c] [-l] [-s] [files [files ...]]', stdout) | 9 | self.assertIn(b'usage: main.py [-h] [-c] [-l] [-s] [-L] [files [files ...]]', stdout) |
| 10 | 10 | ||
| 11 | def test_no_arg(self): | 11 | def test_no_arg(self): |
| 12 | proc = subprocess.Popen(['./main.py'], stdout=subprocess.PIPE) | 12 | proc = subprocess.Popen(['./main.py'], stdout=subprocess.PIPE) |
| 13 | stdout, _ = proc.communicate() | 13 | stdout, _ = proc.communicate() |
| 14 | self.assertIn(b'usage: main.py [-h] [-c] [-l] [-s] [files [files ...]]', stdout) | 14 | self.assertIn(b'usage: main.py [-h] [-c] [-l] [-s] [-L] [files [files ...]]', stdout) |
| 15 | 15 | ||
| 16 | 16 | ||
| 17 | class TestGetMeta(unittest.TestCase): | 17 | class TestGetMeta(unittest.TestCase): |
