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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix identation error by greplite
Harshit Jain3949aac2d7be
diff --git a/tests/test_litellm/proxy/auth/test_auth_hot_path_network_requests.py b/tests/test_litellm/proxy/auth/test_auth_hot_path_network_requests.pyindex e68ddcf4b7d..bafbda34a26 100644--- a/tests/test_litellm/proxy/auth/test_auth_hot_path_network_requests.py+++ b/tests/test_litellm/proxy/auth/test_auth_hot_path_network_requests.py@@ -418,10 +418,16 @@ async def test_team_membership_cache_key_duplication():@pytest.mark.asyncio- # Document that these are different keys- assert (- key_format_1 != key_format_2- ), "Cache keys should be different (this is the bug)"+async def test_full_hot_path_network_count():+ """+ Summary test that counts all network operations when processing+ a request with a key that has team_id and user_id attached.++ This test verifies the baseline number of cache operations expected+ on a fully warm cache path.+ """+ api_key = "sk-test-full-path"+ team_id = "team-full-123"user_id = "user-full-456"hashed_token = hash_token(api_key)