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

Function fake_arxiv_fetch_by_date

tests/test_desktop_gui.py:1581–1591  ·  view source on GitHub ↗
(**kwargs)

Source from the content-addressed store, hash-verified

1579 assert captured["arxiv_categories"] == []
1580 assert captured["conferences"] == []
1581 assert captured["journals"] == ["Nature"]
1582 assert captured["enable_semantic_scholar"] is True
1583 assert captured["enable_custom_rss"] is True
1584 assert captured["custom_rss_urls"] == ["https://example.com/feed.xml"]
1585
1586
1587def test_daily_arxiv_fetch_filters_out_old_papers(monkeypatch: pytest.MonkeyPatch) -> None:
1588 captured: dict[str, str] = {}
1589
1590 def fake_arxiv_fetch_by_date(**kwargs):
1591 captured["start_date"] = kwargs.get("start_date")
1592 captured["end_date"] = kwargs.get("end_date")
1593 return [
1594 {

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected