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
refactor(test_proxy_utils.py): place at root level test folder
Krrish Dholakia5403c5828c84
diff --git a/litellm/tests/test_proxy_utils.py b/tests/proxy_util_tests/test_proxy_utils.pysimilarity index 98%rename from litellm/tests/test_proxy_utils.pyrename to tests/proxy_util_tests/test_proxy_utils.pyindex 43c0de51f82..dc9de5d4478 100644--- a/litellm/tests/test_proxy_utils.py+++ b/tests/proxy_util_tests/test_proxy_utils.py@@ -6,11 +6,12 @@ from unittest.mock import Mockimport pytestfrom fastapi import Request-import litellm-sys.path.insert(0, os.path.abspath("../..")) # Adds the parent directory to the system path+import litellm++from litellm.proxy._types import LitellmUserRoles, UserAPIKeyAuthfrom litellm.proxy.auth.auth_utils import is_request_body_safefrom litellm.proxy.litellm_pre_call_utils import (@@ -367,3 +368,12 @@ def test_is_request_body_safe_model_enabled(error_raised = Trueassert expect_error == error_raised+++def test_get_remaining_rate_limit():+ """+ Ensure accurate remaining rate limit is returned to the client.++ Relevant Issue: https://github.com/BerriAI/litellm/issues/5957+ """+ pass