fix(tests): add docstring to rate limiter no-op override

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-17 13:18:43 +00:00
parent 6bf121f02f
commit c9f9001244
+1
View File
@@ -130,6 +130,7 @@ def client(db_session) -> TestClient:
# Disable per-user upload rate limiting in tests so that upload-heavy
# test suites are not rejected with 429 Too Many Requests.
async def _no_rate_limit() -> None:
"""No-op override: skip upload rate limiting during tests."""
return None
fastapi_app.dependency_overrides[require_upload_rate_limit] = _no_rate_limit