mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-19 12:41:12 +00:00
Fixed failing oembed tests
This commit is contained in:
parent
50663e47db
commit
ab7f3da7af
1 changed files with 2 additions and 2 deletions
|
|
@ -214,7 +214,7 @@ class TestOembed(TestCase):
|
|||
def setUp(self):
|
||||
class DummyResponse(object):
|
||||
def read(self):
|
||||
return "foo"
|
||||
return b"foo"
|
||||
self.dummy_response = DummyResponse()
|
||||
|
||||
def test_oembed_invalid_provider(self):
|
||||
|
|
@ -269,7 +269,7 @@ class TestEmbedFilter(TestCase):
|
|||
def setUp(self):
|
||||
class DummyResponse(object):
|
||||
def read(self):
|
||||
return "foo"
|
||||
return b"foo"
|
||||
self.dummy_response = DummyResponse()
|
||||
|
||||
@patch('six.moves.urllib.request.urlopen')
|
||||
|
|
|
|||
Loading…
Reference in a new issue