mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
fix test_proxy_logging_setup
This commit is contained in:
parent
ca5a117544
commit
9c573cda0a
1 changed files with 2 additions and 1 deletions
|
|
@ -1992,7 +1992,8 @@ async def test_proxy_logging_setup():
|
|||
"""
|
||||
Assert always_read_redis is True when used by internal usage cache
|
||||
"""
|
||||
from litellm.caching import DualCache
|
||||
from litellm.proxy.utils import ProxyLogging
|
||||
|
||||
pl_obj = ProxyLogging()
|
||||
pl_obj = ProxyLogging(user_api_key_cache=DualCache())
|
||||
assert pl_obj.internal_usage_cache.always_read_redis is True
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue