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

Method __init__

tests/test_journal_fetcher.py:523–526  ·  view source on GitHub ↗
(self, url, text, content_type="text/html")

Source from the content-addressed store, hash-verified

521def test_fetch_article_detail_uses_openalex_landing_page_as_fulltext_fallback(monkeypatch):
522 class FakeResponse:
523 def __init__(self, url, text, content_type="text/html"):
524 self.url = url
525 self.text = text
526 self.headers = {"Content-Type": content_type}
527
528 def fake_http_get(url, **kwargs):
529 if "doi.org" in url:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected