diff --git a/tests/test_litellm/caching/test_valkey_semantic_cache.py b/tests/test_litellm/caching/test_valkey_semantic_cache.py index 45564199467..6327ebfa294 100644 --- a/tests/test_litellm/caching/test_valkey_semantic_cache.py +++ b/tests/test_litellm/caching/test_valkey_semantic_cache.py @@ -548,7 +548,7 @@ def test_valkey_cache_supports_redis_py_4_index_module(): pass class IndexType: - pass + HASH = "HASH" legacy = types.ModuleType("redis.commands.search.indexDefinition") legacy.IndexDefinition = IndexDefinition