Skip to content

Commit 1ac83be

Browse files
committed
Remove --verbose from test results
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent fdf5ace commit 1ac83be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_cli.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,9 @@ def clean_results(results):
682682
headers = results.get("headers", {}) or {}
683683
if "tool_version" in headers:
684684
del headers["tool_version"]
685+
options = headers.get("options", []) or []
686+
if "--verbose" in options:
687+
options.remove("--verbose")
685688

686689
return results
687690

0 commit comments

Comments
 (0)