diff --git a/tests/test_cli.py b/tests/test_cli.py index 4dbaf01..327e280 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -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", @@ -57,7 +57,7 @@ def test_help_command(testdir): 'positional arguments:', ' command', '', - 'options:', + 'option*:', ' -h, --help show this help message and exit', ]) @@ -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 @@ -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'",