fix tests

This commit is contained in:
Cédric Carrard 2016-12-27 20:48:43 +01:00
parent 9f9ed3aeed
commit 85516a556b
2 changed files with 3 additions and 3 deletions

View file

@ -14,8 +14,8 @@ class VimeoBackendTestCase(BackendTestMixin, TestCase):
('https://www.vimeo.com/72304002', '72304002'),
('http://player.vimeo.com/video/72304002', '72304002'),
('https://player.vimeo.com/video/72304002', '72304002'),
('http://www.vimeo.com/channels/staffpick/72304002', '72304002'),
('https://www.vimeo.com/channels/staffpick/72304002', '72304002'),
('http://vimeo.com/channels/staffpicks/190785902', '190785902'),
('https://vimeo.com/channels/staffpicks/190785902', '190785902'),
)
instance = VimeoBackend

View file

@ -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`)')
)