We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b95e82d commit b6869c1Copy full SHA for b6869c1
tests/test_args.py
@@ -18,8 +18,9 @@ def test_help(capsys):
18
stagpy.args.parse_args(['-h'])
19
output = capsys.readouterr()
20
expected = re.compile(
21
- r'^usage:.*\nStagPy is a tool to.*'
22
- r'\npositional arguments.*\noptional arguments.*$',
+ r'^usage:.*\nStagPy is a tool to.*\n'
+ r'.*field.*Plot scalar and vector fields\n'
23
+ r'.*--help.*show this help message and exit.*$',
24
flags=re.DOTALL)
25
assert expected.fullmatch(output.out)
26
0 commit comments