From 312f9223163002d95ce4a27fa26c394df4eea9d2 Mon Sep 17 00:00:00 2001 From: Jessica Favin Date: Sun, 4 Nov 2018 16:26:51 +0100 Subject: [PATCH] Fix test_dumper.py - Dumper constructor --- test/mitmproxy/addons/test_dumper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/mitmproxy/addons/test_dumper.py b/test/mitmproxy/addons/test_dumper.py index 62dbd017d..b1dc20b82 100644 --- a/test/mitmproxy/addons/test_dumper.py +++ b/test/mitmproxy/addons/test_dumper.py @@ -156,7 +156,7 @@ class TestContentView: def test_tcp(): sio = io.StringIO() sio_err = io.StringIO() - d = dumper.Dumper(sio) + d = dumper.Dumper(sio, sio_err) with taddons.context(d) as ctx: ctx.configure(d, flow_detail=3, showhost=True) f = tflow.ttcpflow() @@ -172,7 +172,7 @@ def test_tcp(): def test_websocket(): sio = io.StringIO() sio_err = io.StringIO() - d = dumper.Dumper(sio) + d = dumper.Dumper(sio, sio_err) with taddons.context(d) as ctx: ctx.configure(d, flow_detail=3, showhost=True) f = tflow.twebsocketflow()