Skip to content

Commit

Permalink
Loosen up asserts.
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelmc committed Oct 25, 2022
1 parent 28c8724 commit 36964f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test_help(testdir):
"",
"pytest_benchmark's management commands.",
"",
"options:",
"option*:",
" -h [COMMAND], --help [COMMAND]",
" Display help and exit.",
" --storage URI, -s URI",
Expand Down Expand Up @@ -57,7 +57,7 @@ def test_help_command(testdir):
'positional arguments:',
' command',
'',
'options:',
'option*:',
' -h, --help show this help message and exit',
])

Expand All @@ -70,7 +70,7 @@ def test_help_list(testdir, args):
"",
"List saved runs.",
"",
"options:",
"option*:",
" -h, --help show this help message and exit",
])
assert result.ret == 0
Expand All @@ -92,7 +92,7 @@ def test_help_compare(testdir, args):
" glob_or_file Glob or exact path for json files. If not specified",
" all runs are loaded.",
"",
"options:",
"option*:",
" -h, --help show this help message and exit",
" --sort COL Column to sort on. Can be one of: 'min', 'max',",
" 'mean', 'stddev', 'name', 'fullname'. Default: 'min'",
Expand Down

0 comments on commit 36964f0

Please sign in to comment.