From 77658fa0b582968a8cfbe21b64737e3084d010e0 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Mon, 11 Sep 2017 21:25:56 +0200 Subject: [PATCH] Disable urllib3 warnings --- tests/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/__init__.py b/tests/__init__.py index 53b5cdb..9103d74 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -7,6 +7,11 @@ import hypothesis.strategies as st from vdirsyncer.vobject import normalize_item +import urllib3 +import urllib3.exceptions + +urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) + def blow_up(*a, **kw): raise AssertionError('Did not expect to be called.')