aboutsummaryrefslogtreecommitdiffstats
path: root/test/pathod/test_test.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-06-02 19:40:39 +1200
committerAldo Cortesi <aldo@nullcube.com>2016-06-02 19:40:39 +1200
commitc9dd574f48cb05ff762bccdeef2dc22c758de9ec (patch)
tree8b2b843dbc897f19e012cdb5d08d9d5d410ae0ca /test/pathod/test_test.py
parentd8c52964c75afae9a7e5cbc4470159dc09f08810 (diff)
downloadmitmproxy-c9dd574f48cb05ff762bccdeef2dc22c758de9ec.tar.gz
mitmproxy-c9dd574f48cb05ff762bccdeef2dc22c758de9ec.tar.bz2
mitmproxy-c9dd574f48cb05ff762bccdeef2dc22c758de9ec.zip
Silence requests warnings
Once we convert the rest of the suite to pathoc, this can go.
Diffstat (limited to 'test/pathod/test_test.py')
-rw-r--r--test/pathod/test_test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/pathod/test_test.py b/test/pathod/test_test.py
index cee286a4..ddb41cb3 100644
--- a/test/pathod/test_test.py
+++ b/test/pathod/test_test.py
@@ -4,6 +4,9 @@ from pathod import test
import tutils
logging.disable(logging.CRITICAL)
+import requests.packages.urllib3
+requests.packages.urllib3.disable_warnings()
+
class TestDaemonManual: