diff options
author | Aldo Cortesi <aldo@corte.si> | 2018-02-26 08:56:23 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@corte.si> | 2018-02-26 09:02:24 +1300 |
commit | 2fb85553cc57e9559ed6ea747b3043b6f87bf36e (patch) | |
tree | 22785f82fa11899117712b3fa489f7abb091f043 /test/examples | |
parent | 77e5d823e0e7cb2032e639de315d49bcad1945cc (diff) | |
download | mitmproxy-2fb85553cc57e9559ed6ea747b3043b6f87bf36e.tar.gz mitmproxy-2fb85553cc57e9559ed6ea747b3043b6f87bf36e.tar.bz2 mitmproxy-2fb85553cc57e9559ed6ea747b3043b6f87bf36e.zip |
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.
Diffstat (limited to 'test/examples')
-rw-r--r-- | test/examples/test_xss_scanner.py | 3 |
1 files changed, 3 insertions, 0 deletions
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() |