fix(tests): pass host to RedisCache in test_team_update_redis to avoid ValueError
RedisCache() without arguments fails at construction with "ValueError: Either 'host' or 'url' must be specified for redis." The actual Redis connection is irrelevant since async_set_cache is mocked. Unlike test_get_team_redis which uses client_no_auth (which sets REDIS_HOST via fake_env_vars), test_team_update_redis has no fixture setting that env var. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
6b681aafdd
commit
bd8c1cc673
@ -962,7 +962,7 @@ async def test_team_update_redis():
|
||||
litellm.proxy.proxy_server, "proxy_logging_obj"
|
||||
)
|
||||
|
||||
redis_cache = RedisCache()
|
||||
redis_cache = RedisCache(host="localhost")
|
||||
|
||||
with patch.object(
|
||||
redis_cache,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user