mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 20:22:45 +01:00
RSS: Fix traceback in tests with new feedparser versions
This commit is contained in:
parent
2b4c5eb78f
commit
8168c52939
@ -69,6 +69,9 @@ class MockResponse:
|
|||||||
def close(self):
|
def close(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
def geturl(self):
|
||||||
|
return url
|
||||||
|
|
||||||
def mock_urllib(f):
|
def mock_urllib(f):
|
||||||
mock = MockResponse()
|
mock = MockResponse()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user