RSS: Fix traceback in tests with new feedparser versions

This commit is contained in:
Valentin Lorentz 2023-07-26 14:20:45 +02:00
parent 2b4c5eb78f
commit 8168c52939

View File

@ -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()