diff options
author | Jessica Favin <j.favin@hotmail.fr> | 2018-11-04 16:26:51 +0100 |
---|---|---|
committer | Jessica Favin <j.favin@hotmail.fr> | 2018-11-04 16:26:51 +0100 |
commit | 312f9223163002d95ce4a27fa26c394df4eea9d2 (patch) | |
tree | a9ade6eb5cf29555b7a3b285ff2ee38a6aa78dfc /test | |
parent | ade136dc4dd73b760b3ed116d5e4946753b67847 (diff) | |
download | mitmproxy-312f9223163002d95ce4a27fa26c394df4eea9d2.tar.gz mitmproxy-312f9223163002d95ce4a27fa26c394df4eea9d2.tar.bz2 mitmproxy-312f9223163002d95ce4a27fa26c394df4eea9d2.zip |
Fix test_dumper.py - Dumper constructor
Diffstat (limited to 'test')
-rw-r--r-- | test/mitmproxy/addons/test_dumper.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mitmproxy/addons/test_dumper.py b/test/mitmproxy/addons/test_dumper.py index 62dbd017..b1dc20b8 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() |