feat(security): extend rate limits on sync, tests, evidence and reports [FASE-3.4]
This commit is contained in:
@@ -121,10 +121,8 @@ def client(db, monkeypatch):
|
||||
app.dependency_overrides[get_db] = override_get_db
|
||||
Base.metadata.create_all(bind=engine)
|
||||
|
||||
if hasattr(app.state, "limiter"):
|
||||
app.state.limiter.enabled = False
|
||||
from app.routers.auth import limiter as auth_limiter
|
||||
auth_limiter.enabled = False
|
||||
from app.limiter import limiter
|
||||
limiter.enabled = False
|
||||
|
||||
from fastapi.testclient import TestClient
|
||||
with TestClient(app) as test_client:
|
||||
|
||||
Reference in New Issue
Block a user