MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / fail_download

Function fail_download

experiments/tests/test_reading_report_flow.py:1302–1303  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

1300 monkeypatch.setattr(reading_agent, "_load_arxiv_fetcher", lambda: BrokenFetcher)
1301
1302 def fail_download(*args, **kwargs):
1303 raise AssertionError("pdf download should be skipped for already-complete metadata")
1304
1305 monkeypatch.setattr(reading_agent, "_download_pdf", fail_download)
1306

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected