aboutsummaryrefslogtreecommitdiffstats
path: root/test/examples/test_xss_scanner.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2018-02-26 09:45:24 +1300
committerGitHub <noreply@github.com>2018-02-26 09:45:24 +1300
commitf02896862df6aeb4b2982158f27dfe7e07afec97 (patch)
tree22785f82fa11899117712b3fa489f7abb091f043 /test/examples/test_xss_scanner.py
parentb57f551c0d496f7e604cd1b3bf5f9bb2cf44f1bb (diff)
parent2fb85553cc57e9559ed6ea747b3043b6f87bf36e (diff)
downloadmitmproxy-f02896862df6aeb4b2982158f27dfe7e07afec97.tar.gz
mitmproxy-f02896862df6aeb4b2982158f27dfe7e07afec97.tar.bz2
mitmproxy-f02896862df6aeb4b2982158f27dfe7e07afec97.zip
Merge pull request #2923 from cortesi/moreopts
Options: split verbosity, add some docs to Loader.add_option
Diffstat (limited to 'test/examples/test_xss_scanner.py')
-rw-r--r--test/examples/test_xss_scanner.py3
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()