summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorjvoisin2018-09-05 17:48:14 +0200
committerjvoisin2018-09-05 17:48:14 +0200
commit3649c0ccaff0be765a233beed0b46224d6ac021d (patch)
tree2add264851e20d12122fad679b6705b000ccced8 /tests
parent119085f28db71186b5361b6aa8623da2d2ecfd0a (diff)
Remove short version of dangerous/advanced options
Diffstat (limited to 'tests')
-rw-r--r--tests/test_climat2.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_climat2.py b/tests/test_climat2.py
index 9614347..7d12a03 100644
--- a/tests/test_climat2.py
+++ b/tests/test_climat2.py
@@ -8,14 +8,16 @@ 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] [--check-dependencies] [-V]',
12 stdout) 12 stdout)
13 self.assertIn(b'[--unknown-members policy] [-s | -L]', stdout)
13 14
14 def test_no_arg(self): 15 def test_no_arg(self):
15 proc = subprocess.Popen(['./mat2'], stdout=subprocess.PIPE) 16 proc = subprocess.Popen(['./mat2'], stdout=subprocess.PIPE)
16 stdout, _ = proc.communicate() 17 stdout, _ = proc.communicate()
17 self.assertIn(b'usage: mat2 [-h] [-v] [-l] [-c] [-V] [-u policy] [-s | -L] [files [files ...]]', 18 self.assertIn(b'usage: mat2 [-h] [-v] [-l] [--check-dependencies] [-V]',
18 stdout) 19 stdout)
20 self.assertIn(b'[--unknown-members policy] [-s | -L]', stdout)
19 21
20 22
21class TestVersion(unittest.TestCase): 23class TestVersion(unittest.TestCase):