Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix test audit logs

Ishaan Jaff6f1c06f7ae36
diff --git a/tests/local_testing/test_audit_logs_proxy.py b/tests/local_testing/test_audit_logs_proxy.py
index 48187e9b25e..275d4867005 100644
--- a/tests/local_testing/test_audit_logs_proxy.py
+++ b/tests/local_testing/test_audit_logs_proxy.py
@@ -50,6 +50,7 @@ from starlette.datastructures import URL
from litellm.proxy.management_helpers.audit_logs import create_audit_log_for_update
from litellm.proxy._types import LiteLLM_AuditLogs, LitellmTableNames
from litellm.caching.caching import DualCache
+from unittest.mock import patch, AsyncMock
proxy_logging_obj = ProxyLogging(user_api_key_cache=DualCache())
import json