commit
9401aa9b69
1 changed files with 2 additions and 0 deletions
|
|
@ -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]] = []
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue