aboutsummaryrefslogtreecommitdiffstats
path: root/test/helper_tools/dumperview.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2018-02-24 17:20:53 +1300
committerGitHub <noreply@github.com>2018-02-24 17:20:53 +1300
commiteee109117f956600261bc938be52040d1474a97f (patch)
tree4efe06cfc2a19ea6688915558b54c6c9075d94b4 /test/helper_tools/dumperview.py
parent16dd7f3ddf012426f2ddcb5792cf35be528c6e09 (diff)
parent3a766a420cb6fc0b1c9d0480e00b3250ec8a22c4 (diff)
downloadmitmproxy-eee109117f956600261bc938be52040d1474a97f.tar.gz
mitmproxy-eee109117f956600261bc938be52040d1474a97f.tar.bz2
mitmproxy-eee109117f956600261bc938be52040d1474a97f.zip
Merge pull request #2905 from cortesi/opts
Start migrating addon options into /addons
Diffstat (limited to 'test/helper_tools/dumperview.py')
-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)