mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-03-31 04:57:23 +02: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…
x
Reference in New Issue
Block a user