From 15468ed3d671ade4241941739aaee06e2a5643da Mon Sep 17 00:00:00 2001 From: Hopiu Date: Mon, 20 Mar 2017 23:24:02 +0100 Subject: [PATCH] urllib3 1.20 bundled with requests 2.13.0 uses loglevel DEBUG instead of INFO for timeout, update expected test output --- embed_video/tests/templatetags/tests_embed_video_tags.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/embed_video/tests/templatetags/tests_embed_video_tags.py b/embed_video/tests/templatetags/tests_embed_video_tags.py index 66cf8b5..c66c3db 100644 --- a/embed_video/tests/templatetags/tests_embed_video_tags.py +++ b/embed_video/tests/templatetags/tests_embed_video_tags.py @@ -160,7 +160,7 @@ class EmbedTestCase(TestCase): self.assertRenderedTemplate(template, '') logs.check( - ('requests.packages.urllib3.connectionpool', 'INFO', 'Starting new HTTP connection (1): vimeo.com'), + ('requests.packages.urllib3.connectionpool', 'DEBUG', 'Starting new HTTP connection (1): vimeo.com'), ('embed_video.templatetags.embed_video_tags', 'ERROR', 'Timeout reached during rendering embed video (`http://vimeo.com/72304002`)') ) @@ -281,4 +281,3 @@ class EmbedVideoNodeTestCase(TestCase): context = {'request': InsecureRequest()} backend = VideoNode.get_backend('http://www.youtube.com/watch?v=jsrRJyHBvzw', context) self.assertFalse(backend.is_secure) -