From 36964f06c0a86c9695ab3d26a91b04c259cae3f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionel=20Cristian=20M=C4=83rie=C8=99?= Date: Tue, 25 Oct 2022 15:59:27 +0300 Subject: [PATCH] Loosen up asserts. --- tests/test_cli.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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'",