mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-01 20:14:55 +00:00
Fix test for Python 2.x
This commit is contained in:
parent
83e6a551fe
commit
71e81e841f
1 changed files with 1 additions and 1 deletions
|
|
@ -456,7 +456,7 @@ class TestOembed(TestCase):
|
|||
result = OEmbedFinder().find_embed("https://vimeo.com/217403396")
|
||||
self.assertEqual(result['type'], 'video')
|
||||
request = urlopen.call_args[0][0]
|
||||
self.assertEqual(request.full_url.split('?')[0], "http://www.vimeo.com/api/oembed.json")
|
||||
self.assertEqual(request.get_full_url().split('?')[0], "http://www.vimeo.com/api/oembed.json")
|
||||
|
||||
|
||||
class TestEmbedTag(TestCase):
|
||||
|
|
|
|||
Loading…
Reference in a new issue