From 2fb85553cc57e9559ed6ea747b3043b6f87bf36e Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 26 Feb 2018 08:56:23 +1300 Subject: Revamp verbosity options Split verbosity into termlog_verbosity and console_eventlog_verbosity. This patch also removes printing to console if there are unknown options in the command-line. Options now live in separate addons, so having uknown options remaining is common and expected. We definitely shoould have some other way for users to see what was ignored so they can catch typos and the like, but that's a different patch. --- test/examples/test_xss_scanner.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/examples/test_xss_scanner.py') diff --git a/test/examples/test_xss_scanner.py b/test/examples/test_xss_scanner.py index 610bdd72..1d723d53 100644 --- a/test/examples/test_xss_scanner.py +++ b/test/examples/test_xss_scanner.py @@ -310,6 +310,9 @@ class TestXSSScanner(): def __init__(self): self.args = [] + def info(self, str): + self.args.append(str) + def error(self, str): self.args.append(str) return Logger() -- cgit v1.2.3