fix(tests): satisfy strict ruff checks

This commit is contained in:
Yujong Lee 2026-08-29 16:28:58 -07:00 committed by GitHub
parent 64be0c18b9
commit ab1f7b1fb8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,7 @@ class FakeRedisCache(RedisCache):
Records the ``ttl`` kwarg DualCache forwards on each Redis write for tests.
"""
def __init__(self): # noqa: super().__init__ skipped intentionally
def __init__(self):
self._store: dict[str, str] = {}
self.last_ttl: Any = None

View file

@ -206,7 +206,7 @@ def test_streaming_response_records_and_replays_chunks(tmp_path: Path) -> None:
def test_stream_response_model_rejects_buffered_body() -> None:
with pytest.raises(ValueError):
with pytest.raises(ValueError, match="Extra inputs are not permitted"):
RecordedHttpStreamResponse.model_validate(
{
"kind": "http_stream",