(*, start_date, end_date, conferences, limit)
| 1226 | monkeypatch.setenv("PAPERFLOW_ALLOW_STALE_DAILY_FALLBACK", "1") |
| 1227 | |
| 1228 | def fake_openreview_fetch_by_date(*, start_date, end_date, conferences, limit): |
| 1229 | openreview_calls.append( |
| 1230 | { |
| 1231 | "start_date": start_date, |
| 1232 | "end_date": end_date, |
| 1233 | "conferences": conferences, |
| 1234 | "limit": limit, |
| 1235 | } |
| 1236 | ) |
| 1237 | if len(openreview_calls) == 1: |
| 1238 | return [] |
| 1239 | return [{"title": "Fallback ICLR paper"}] |
| 1240 | |
| 1241 | monkeypatch.setattr(daily_push_agent, "arxiv_fetch_by_date", lambda **kwargs: []) |
| 1242 | monkeypatch.setattr(daily_push_agent, "arxiv_fetch_recent_list_page", lambda **kwargs: []) |
nothing calls this directly
no outgoing calls
no test coverage detected