Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenRaiser/PaperFlow
/ FakeResponse
Class
FakeResponse
experiments/tests/test_reading_report_flow.py:1433–1435 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1431
captured = {}
1432
1433
class
FakeResponse:
1434
headers = {
"Content-Type"
:
"application/pdf"
}
1435
content = b
"%PDF-1.4\nfake"
1436
1437
def
fake_http_get(url, **kwargs):
1438
captured[
"url"
] = url
Callers
1
fake_http_get
Function · 0.70
Calls
no outgoing calls
Tested by
1
fake_http_get
Function · 0.56