Native Patreon ingester + download-engine ownership (plans #697, #703–#708) #72
@@ -289,7 +289,7 @@ def test_video_permanent_failure_fails_fast(tmp_path, monkeypatch):
|
|||||||
|
|
||||||
def test_one_failure_isolated(tmp_path):
|
def test_one_failure_isolated(tmp_path):
|
||||||
class _BoomSession(_FakeSession):
|
class _BoomSession(_FakeSession):
|
||||||
def get(self, url, stream=False, timeout=None):
|
def get(self, url, stream=False, timeout=None, headers=None):
|
||||||
self.calls.append(url)
|
self.calls.append(url)
|
||||||
if "bad" in url:
|
if "bad" in url:
|
||||||
raise RuntimeError("network boom")
|
raise RuntimeError("network boom")
|
||||||
|
|||||||
Reference in New Issue
Block a user