Skip to content

Commit 36964f0

Browse files
committed
Loosen up asserts.
1 parent 28c8724 commit 36964f0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_cli.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_help(testdir):
2626
"",
2727
"pytest_benchmark's management commands.",
2828
"",
29-
"options:",
29+
"option*:",
3030
" -h [COMMAND], --help [COMMAND]",
3131
" Display help and exit.",
3232
" --storage URI, -s URI",
@@ -57,7 +57,7 @@ def test_help_command(testdir):
5757
'positional arguments:',
5858
' command',
5959
'',
60-
'options:',
60+
'option*:',
6161
' -h, --help show this help message and exit',
6262
])
6363

@@ -70,7 +70,7 @@ def test_help_list(testdir, args):
7070
"",
7171
"List saved runs.",
7272
"",
73-
"options:",
73+
"option*:",
7474
" -h, --help show this help message and exit",
7575
])
7676
assert result.ret == 0
@@ -92,7 +92,7 @@ def test_help_compare(testdir, args):
9292
" glob_or_file Glob or exact path for json files. If not specified",
9393
" all runs are loaded.",
9494
"",
95-
"options:",
95+
"option*:",
9696
" -h, --help show this help message and exit",
9797
" --sort COL Column to sort on. Can be one of: 'min', 'max',",
9898
" 'mean', 'stddev', 'name', 'fullname'. Default: 'min'",

0 commit comments

Comments
 (0)