aboutsummaryrefslogtreecommitdiffstats
path: root/test/mitmproxy/addons/test_dumper.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/mitmproxy/addons/test_dumper.py')
-rw-r--r--test/mitmproxy/addons/test_dumper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mitmproxy/addons/test_dumper.py b/test/mitmproxy/addons/test_dumper.py
index 7a41c7b9..841e2a01 100644
--- a/test/mitmproxy/addons/test_dumper.py
+++ b/test/mitmproxy/addons/test_dumper.py
@@ -123,7 +123,7 @@ def test_echo_body():
d = dumper.Dumper(sio, sio_err)
with taddons.context(d) as ctx:
ctx.configure(d, flow_detail=3)
- d._echo_message(f.response)
+ d._echo_message(f.response, f)
t = sio.getvalue()
assert "cut off" in t