We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 136e286 commit 84e2f4eCopy full SHA for 84e2f4e
cve_bin_tool/cli.py
@@ -531,6 +531,7 @@ def main(argv=None):
531
LOGGER.setLevel(args["log_level"].upper())
532
533
if args["quiet"]:
534
+ logging.disable(logging.ERROR)
535
LOGGER.setLevel(logging.CRITICAL)
536
537
if 0 < LOGGER.level <= 10:
test/test_cli.py
@@ -291,7 +291,6 @@ def test_unknown_warning(self, caplog):
291
assert len(warnings) > 0, "Unknown version warning didn't get generated"
292
assert f"png was detected with version UNKNOWN in file {filename}" in warnings
293
294
- @pytest.mark.skip(reason="Causing problems during longtests, needs fixing")
295
def test_quiet_mode(self, capsys, caplog):
296
"""Test that an quiet mode isn't generating any output"""
297
0 commit comments