aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-02-02 12:26:28 +0100
committerMaximilian Hils <git@maximilianhils.com>2016-02-02 12:26:28 +0100
commitf39e50c4dbebb86af19127ca12887f59e70bd222 (patch)
tree815dd9cbeca7d881bcb486bfd296a3d61470f4dd /test
parent417384d6f2f4965b9f029944b12fadb39a5a3a5f (diff)
downloadmitmproxy-f39e50c4dbebb86af19127ca12887f59e70bd222.tar.gz
mitmproxy-f39e50c4dbebb86af19127ca12887f59e70bd222.tar.bz2
mitmproxy-f39e50c4dbebb86af19127ca12887f59e70bd222.zip
silence third-party modules
Diffstat (limited to 'test')
-rw-r--r--test/__init__.py8
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)