db tets fix

This commit is contained in:
Justin Visser 2026-03-01 23:07:49 +01:00
parent 6fe4814442
commit c7d170a202

View file

@ -88,6 +88,7 @@ async def test_arxiv_rate_limit_serializes_concurrent_calls(db_session: AsyncSes
@pytest.mark.asyncio @pytest.mark.asyncio
async def test_arxiv_rate_limit_logs_request_scheduled_and_completed( async def test_arxiv_rate_limit_logs_request_scheduled_and_completed(
db_session: AsyncSession,
monkeypatch: pytest.MonkeyPatch, monkeypatch: pytest.MonkeyPatch,
) -> None: ) -> None:
logged: list[dict[str, object]] = [] logged: list[dict[str, object]] = []
@ -113,6 +114,7 @@ async def test_arxiv_rate_limit_logs_request_scheduled_and_completed(
@pytest.mark.asyncio @pytest.mark.asyncio
async def test_arxiv_rate_limit_logs_cooldown_activation( async def test_arxiv_rate_limit_logs_cooldown_activation(
db_session: AsyncSession,
monkeypatch: pytest.MonkeyPatch, monkeypatch: pytest.MonkeyPatch,
) -> None: ) -> None:
logged_warning: list[dict[str, object]] = [] logged_warning: list[dict[str, object]] = []