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

Function fake_http_get

experiments/tests/test_reading_report_flow.py:1437–1440  ·  view source on GitHub ↗
(url, **kwargs)

Source from the content-addressed store, hash-verified

1435 content = b"%PDF-1.4\nfake"
1436
1437 def fake_http_get(url, **kwargs):
1438 captured["url"] = url
1439 captured.update(kwargs)
1440 return FakeResponse()
1441
1442 monkeypatch.setattr(reading_agent, "_http_get", fake_http_get)
1443

Callers

nothing calls this directly

Calls 1

FakeResponseClass · 0.70

Tested by

no test coverage detected