mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-20 01:19:26 +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):
|
||||
pass
|
||||
|
||||
def geturl(self):
|
||||
return url
|
||||
|
||||
def mock_urllib(f):
|
||||
mock = MockResponse()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user