mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
test(caching): wrap the DualCache fixture line to the 120 character limit
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
bea22df6c2
commit
a4e34d6e1b
1 changed files with 4 additions and 1 deletions
|
|
@ -726,7 +726,10 @@ async def test_redis_timeouts_falling_back_to_memory_log_once_per_interval(caplo
|
|||
async def async_increment(self, key, value, **kwargs):
|
||||
raise RedisTimeoutError("Timeout reading from 127.0.0.1:6379")
|
||||
|
||||
cache = DualCache(in_memory_cache=InMemoryCache(), redis_cache=_TimingOutRedis()) # pyright: ignore[reportArgumentType] # duck-typed Redis double
|
||||
cache = DualCache(
|
||||
in_memory_cache=InMemoryCache(),
|
||||
redis_cache=_TimingOutRedis(), # pyright: ignore[reportArgumentType] # duck-typed Redis double
|
||||
)
|
||||
increments = [RedisPipelineIncrementOperation(key="k", increment_value=1.0, ttl=60)]
|
||||
|
||||
with caplog.at_level(logging.DEBUG, logger="LiteLLM"):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue