mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
test(redis): explain debug logger patch
This commit is contained in:
parent
f304b2ba7b
commit
6dff830343
1 changed files with 3 additions and 1 deletions
|
|
@ -419,7 +419,9 @@ def test_redis_cache_key_does_not_inspect_provider(clear_llm_client_cache):
|
|||
def test_pretty_print_never_expands_credential_provider(capsys):
|
||||
secret = "aaaa-UNIQUE-SENTINEL-bbbb"
|
||||
|
||||
with patch("litellm._redis.verbose_logger.isEnabledFor", return_value=True):
|
||||
with patch( # test-quality-ok: enable the debug-only printer without changing process-wide logger state
|
||||
"litellm._redis.verbose_logger.isEnabledFor", return_value=True
|
||||
):
|
||||
_pretty_print_redis_config(
|
||||
redis_kwargs={
|
||||
"host": "redis-host",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue