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

Function fake_get

experiments/tests/test_paper_stack.py:189–194  ·  view source on GitHub ↗
(url, timeout=60)

Source from the content-addressed store, hash-verified

187 """
188
189 def fake_get(url, timeout=60):
190 if url.endswith("/CVPR2025?day=all"):
191 return FakeResponse(index_html)
192 if url.endswith("Example_Paper_CVPR_2025_paper.html"):
193 return FakeResponse(detail_html)
194 raise AssertionError(f"Unexpected URL: {url}")
195
196 monkeypatch.setattr(openreview_fetcher.requests, "get", fake_get)
197

Callers

nothing calls this directly

Calls 1

FakeResponseClass · 0.70

Tested by

no test coverage detected