From c7d170a202c019153cfbb7374c6a72c1bdff9029 Mon Sep 17 00:00:00 2001 From: Justin Visser Date: Sun, 1 Mar 2026 23:07:49 +0100 Subject: [PATCH] db tets fix --- tests/unit/services/domains/arxiv/test_rate_limit.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit/services/domains/arxiv/test_rate_limit.py b/tests/unit/services/domains/arxiv/test_rate_limit.py index 73183ff..d4e84e8 100644 --- a/tests/unit/services/domains/arxiv/test_rate_limit.py +++ b/tests/unit/services/domains/arxiv/test_rate_limit.py @@ -88,6 +88,7 @@ async def test_arxiv_rate_limit_serializes_concurrent_calls(db_session: AsyncSes @pytest.mark.asyncio async def test_arxiv_rate_limit_logs_request_scheduled_and_completed( + db_session: AsyncSession, monkeypatch: pytest.MonkeyPatch, ) -> None: logged: list[dict[str, object]] = [] @@ -113,6 +114,7 @@ async def test_arxiv_rate_limit_logs_request_scheduled_and_completed( @pytest.mark.asyncio async def test_arxiv_rate_limit_logs_cooldown_activation( + db_session: AsyncSession, monkeypatch: pytest.MonkeyPatch, ) -> None: logged_warning: list[dict[str, object]] = [] -- 2.49.1