Merge pull request #38 from JustinZeus/mypi-fix

db tets fix
This commit is contained in:
JustinZeus 2026-03-01 23:08:15 +01:00 committed by GitHub
commit 9401aa9b69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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