diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-04-30 13:59:10 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-04-30 13:59:10 +1200 |
commit | fea3d8e421ba8993535c45f6407ba7f8b4632a7d (patch) | |
tree | 7312e9a7f04c5a4cb3e452636c3d9a748b209496 /test/tutils.py | |
parent | f927701e74a3b6a22694a0d55e918febbeca9e98 (diff) | |
download | mitmproxy-fea3d8e421ba8993535c45f6407ba7f8b4632a7d.tar.gz mitmproxy-fea3d8e421ba8993535c45f6407ba7f8b4632a7d.tar.bz2 mitmproxy-fea3d8e421ba8993535c45f6407ba7f8b4632a7d.zip |
Revamp pathoc log output with a context handler
This does two things - it gives us a central place to put log utilities,
and it lets us group together related log lines.
Diffstat (limited to 'test/tutils.py')
-rw-r--r-- | test/tutils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/tutils.py b/test/tutils.py index f8a37a5e..f188029d 100644 --- a/test/tutils.py +++ b/test/tutils.py @@ -77,7 +77,8 @@ class DaemonTests(object): c = pathoc.Pathoc( ("localhost", self.d.port), ssl=ssl, - ws_read_limit=ws_read_limit + ws_read_limit=ws_read_limit, + fp = None ) c.connect(connect_to) if timeout: |