diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-01-25 19:20:44 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-02-04 09:52:03 +0100 |
commit | 47cf27c01146e87b8bbf315f70e9752a38ba8edd (patch) | |
tree | e07af3de3654e93a3ff2386c20abc36738e0d29b /test | |
parent | bfc7d3967c0978b22faeaedc653a695e65156b34 (diff) | |
download | mitmproxy-47cf27c01146e87b8bbf315f70e9752a38ba8edd.tar.gz mitmproxy-47cf27c01146e87b8bbf315f70e9752a38ba8edd.tar.bz2 mitmproxy-47cf27c01146e87b8bbf315f70e9752a38ba8edd.zip |
silence 3rd party module loggers
Diffstat (limited to 'test')
-rw-r--r-- | test/test_protocol_http2.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_protocol_http2.py b/test/test_protocol_http2.py index d3725e81..a7e8978a 100644 --- a/test/test_protocol_http2.py +++ b/test/test_protocol_http2.py @@ -8,6 +8,11 @@ from io import BytesIO import logging logging.getLogger("hyper.packages.hpack.hpack").setLevel(logging.WARNING) +logging.getLogger("requests.packages.urllib3.connectionpool").setLevel(logging.WARNING) +logging.getLogger("passlib.utils.compat").setLevel(logging.WARNING) +logging.getLogger("passlib.registry").setLevel(logging.WARNING) +logging.getLogger("PIL.Image").setLevel(logging.WARNING) +logging.getLogger("PIL.PngImagePlugin").setLevel(logging.WARNING) import netlib from netlib import tservers as netlib_tservers |