mirror of
https://github.com/Hopiu/django-embed-video.git
synced 2026-03-16 21:30:23 +00:00
urllib3 1.20 bundled with requests 2.13.0 uses loglevel DEBUG instead of INFO for timeout, update expected test output
This commit is contained in:
parent
961363bf24
commit
15468ed3d6
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue