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

Class FakeResponse

tests/test_journal_fetcher.py:453–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451 captured = {}
452
453 class FakeResponse:
454 url = "https://www.nature.com/articles/s41586-026-00001-1"
455 text = """
456 <html>
457 <head>
458 <meta name="citation_title" content="Detailed Nature Paper">
459 <meta name="citation_abstract" content="Recovered through the shared HTTP session helper.">
460 </head>
461 </html>
462 """
463
464 def fake_http_get(url, **kwargs):
465 captured["url"] = url

Callers 1

fake_http_getFunction · 0.70

Calls

no outgoing calls

Tested by 1

fake_http_getFunction · 0.56