mirror of
https://github.com/Hopiu/django-embed-video.git
synced 2026-05-04 02:54:42 +00:00
fix tests
This commit is contained in:
parent
9f9ed3aeed
commit
85516a556b
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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`)')
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue