no-mistakes(document): Document P0 auth batch; reconcile HARDENING statuses; lint fixes
This commit is contained in:
@@ -429,9 +429,10 @@ async def test_rate_limit_is_per_email(client: AsyncClient):
|
||||
|
||||
async def test_rate_limit_window_expires(client: AsyncClient, monkeypatch):
|
||||
"""After the 15-minute window passes, the account can log in again."""
|
||||
import app.core.ratelimit as ratelimit_mod
|
||||
import time as _time
|
||||
|
||||
import app.core.ratelimit as ratelimit_mod
|
||||
|
||||
email, password = "window@example.com", "password1"
|
||||
token = await _login(client)
|
||||
await client.post(
|
||||
|
||||
Reference in New Issue
Block a user