From 5989adedea319a4cf8075f3516cf18c6289f0289 Mon Sep 17 00:00:00 2001 From: Hugh Brown Date: Wed, 4 Mar 2026 13:44:21 -0700 Subject: [PATCH] Apply ruff reformatting --- backend/tests/test_rate_limit.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/tests/test_rate_limit.py b/backend/tests/test_rate_limit.py index 534be21d..beec1ad3 100644 --- a/backend/tests/test_rate_limit.py +++ b/backend/tests/test_rate_limit.py @@ -283,9 +283,7 @@ def test_factory_returns_memory_by_default(monkeypatch: pytest.MonkeyPatch) -> N def test_factory_returns_redis_when_configured(monkeypatch: pytest.MonkeyPatch) -> None: monkeypatch.setattr("app.core.config.settings.rate_limit_backend", RateLimitBackend.REDIS) - monkeypatch.setattr( - "app.core.config.settings.rate_limit_redis_url", "redis://localhost:6379/0" - ) + monkeypatch.setattr("app.core.config.settings.rate_limit_redis_url", "redis://localhost:6379/0") fake = _FakeRedis() with patch("redis.asyncio.from_url", return_value=fake): limiter = create_rate_limiter(namespace="test", max_requests=10, window_seconds=60.0)