(self, url, text, content_type="text/html")
| 521 | def 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: |
nothing calls this directly
no outgoing calls
no test coverage detected