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

Function fake_download

experiments/tests/test_reading_report_flow.py:1337–1341  ·  view source on GitHub ↗
(pdf_url, title, referer=None)

Source from the content-addressed store, hash-verified

1335 captured = {}
1336
1337 def fake_download(pdf_url, title, referer=None):
1338 captured["pdf_url"] = pdf_url
1339 captured["title"] = title
1340 captured["referer"] = referer
1341 return str(pdf_path)
1342
1343 monkeypatch.setattr(reading_agent, "_download_pdf", fake_download)
1344 monkeypatch.setattr(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected