(days, conferences, limit_per_conference, years=None)
| 727 | calls = [] |
| 728 | |
| 729 | def fake_get_recent_papers(days, conferences, limit_per_conference, years=None): |
| 730 | calls.append( |
| 731 | { |
| 732 | "days": days, |
| 733 | "conferences": conferences, |
| 734 | "limit_per_conference": limit_per_conference, |
| 735 | "years": years, |
| 736 | } |
| 737 | ) |
| 738 | return [ |
| 739 | {"title": "2026 Paper", "publish_date": "2026-04-10T12:00:00", "venue": "ICLR"}, |
| 740 | {"title": "2024 Paper", "publish_date": "2024-04-10T12:00:00", "venue": "ICLR"}, |
| 741 | ] |
| 742 | |
| 743 | monkeypatch.setattr(openreview_fetcher, "get_recent_papers", fake_get_recent_papers) |
| 744 |
nothing calls this directly
no outgoing calls
no test coverage detected