diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-02-02 12:26:28 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-02-02 12:26:28 +0100 |
commit | f39e50c4dbebb86af19127ca12887f59e70bd222 (patch) | |
tree | 815dd9cbeca7d881bcb486bfd296a3d61470f4dd | |
parent | 417384d6f2f4965b9f029944b12fadb39a5a3a5f (diff) | |
download | mitmproxy-f39e50c4dbebb86af19127ca12887f59e70bd222.tar.gz mitmproxy-f39e50c4dbebb86af19127ca12887f59e70bd222.tar.bz2 mitmproxy-f39e50c4dbebb86af19127ca12887f59e70bd222.zip |
silence third-party modules
-rw-r--r-- | test/__init__.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/__init__.py b/test/__init__.py new file mode 100644 index 00000000..fdb35964 --- /dev/null +++ b/test/__init__.py @@ -0,0 +1,8 @@ + +# Silence third-party modules +import logging +logging.getLogger("hyper").setLevel(logging.WARNING) +logging.getLogger("requests").setLevel(logging.WARNING) +logging.getLogger("passlib").setLevel(logging.WARNING) +logging.getLogger("PIL").setLevel(logging.WARNING) +logging.getLogger("tornado").setLevel(logging.WARNING) |