aboutsummaryrefslogtreecommitdiffstats
path: root/test/helper_tools
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2018-02-24 12:33:48 +1300
committerAldo Cortesi <aldo@nullcube.com>2018-02-24 13:22:15 +1300
commit42094b29ff5e042b3cf3c2544fc7a60555cd3c26 (patch)
treeaa24e8a343e0d664af8585cdc101c20f5b788bfc /test/helper_tools
parentaf39e022ef6c03b194fbee4a7091aed2bf72a652 (diff)
downloadmitmproxy-42094b29ff5e042b3cf3c2544fc7a60555cd3c26.tar.gz
mitmproxy-42094b29ff5e042b3cf3c2544fc7a60555cd3c26.tar.bz2
mitmproxy-42094b29ff5e042b3cf3c2544fc7a60555cd3c26.zip
Clean up un-necessary arguments to taddons.context
Also test coverage ++
Diffstat (limited to 'test/helper_tools')
-rwxr-xr-xtest/helper_tools/dumperview.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/helper_tools/dumperview.py b/test/helper_tools/dumperview.py
index d417d767..e17dc77b 100755
--- a/test/helper_tools/dumperview.py
+++ b/test/helper_tools/dumperview.py
@@ -4,12 +4,11 @@ import click
from mitmproxy.addons import dumper
from mitmproxy.test import tflow
from mitmproxy.test import taddons
-from mitmproxy.tools import options
def show(flow_detail, flows):
d = dumper.Dumper()
- with taddons.context(options=options.Options()) as ctx:
+ with taddons.context() as ctx:
ctx.configure(d, flow_detail=flow_detail)
for f in flows:
ctx.cycle(d, f)