db tets fix #38

Merged
JustinZeus merged 1 commit from mypi-fix into main 2026-03-01 23:08:15 +01:00

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]] = []