style: fix spelling (British to American English)

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-01 14:41:29 +00:00
parent d5a95e9270
commit ce87b53331
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
""" """
Lightweight Redis caching layer for frequently accessed data. Lightweight Redis caching layer for frequently accessed data.
Provides a thin wrapper around Redis GET/SET with JSON serialisation and Provides a thin wrapper around Redis GET/SET with JSON serialization and
configurable TTLs. All operations are **fail-open**: if Redis is configurable TTLs. All operations are **fail-open**: if Redis is
unavailable the caller simply gets a cache miss and falls back to the unavailable the caller simply gets a cache miss and falls back to the
database or other source of truth. database or other source of truth.
+1 -1
View File
@@ -800,7 +800,7 @@ UI_DEFAULT_COLOR_SCHEME=dark
## Performance & Caching ## Performance & Caching
DocuElevate automatically optimises database access and uses Redis as a DocuElevate automatically optimizes database access and uses Redis as a
caching layer for frequently accessed data. caching layer for frequently accessed data.
### Database Indexes ### Database Indexes
+1 -1
View File
@@ -50,7 +50,7 @@ def test_cache_get_returns_none_on_miss():
@pytest.mark.unit @pytest.mark.unit
def test_cache_get_returns_deserialized_value(): def test_cache_get_returns_deserialized_value():
"""cache_get should deserialise the stored JSON string.""" """cache_get should deserialize the stored JSON string."""
mock_client = MagicMock() mock_client = MagicMock()
mock_client.get.return_value = json.dumps(["application/pdf", "image/png"]) mock_client.get.return_value = json.dumps(["application/pdf", "image/png"])
with patch("app.utils.cache._get_redis", return_value=mock_client): with patch("app.utils.cache._get_redis", return_value=mock_client):