From c9f900124407baa230b38f6e1d0f5ee78e0bedcc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 17 Mar 2026 13:18:43 +0000 Subject: [PATCH] fix(tests): add docstring to rate limiter no-op override Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> --- tests/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/conftest.py b/tests/conftest.py index b5c28401..dd0dc2bd 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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