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]

test: annotate registry metadata test parameters

mateofd1fad5e0559
diff --git a/tests/test_litellm/llms/chatgpt/responses/test_chatgpt_responses_transformation.py b/tests/test_litellm/llms/chatgpt/responses/test_chatgpt_responses_transformation.py
index 8a0027fdb53..a7520bd5955 100644
--- a/tests/test_litellm/llms/chatgpt/responses/test_chatgpt_responses_transformation.py
+++ b/tests/test_litellm/llms/chatgpt/responses/test_chatgpt_responses_transformation.py
@@ -54,7 +54,7 @@ class TestChatGPTResponsesAPITransformation:
"chatgpt/gpt-5.6-terra",
],
)
- def test_chatgpt_responses_model_metadata(self, model_name, local_model_cost_map):
+ def test_chatgpt_responses_model_metadata(self, model_name: str, local_model_cost_map: None) -> None:
model_info = litellm.get_model_info(model_name)
assert model_info["litellm_provider"] == "chatgpt"
@@ -75,7 +75,9 @@ class TestChatGPTResponsesAPITransformation:
"gpt-5.6-terra",
],
)
- def test_chatgpt_models_bridge_chat_completions_to_responses(self, model_name, local_model_cost_map):
+ def test_chatgpt_models_bridge_chat_completions_to_responses(
+ self, model_name: str, local_model_cost_map: None
+ ) -> None:
"""A chat completions request for these models must take the Responses bridge.
`gpt-5.6-*` also exists as an openai chat model, so an unregistered
diff --git a/tests/test_litellm/test_utils.py b/tests/test_litellm/test_utils.py
index cfdbbcb1132..45532f91f16 100644
--- a/tests/test_litellm/test_utils.py
+++ b/tests/test_litellm/test_utils.py
@@ -54,7 +54,7 @@ from litellm.utils import (
# Adds the parent directory to the system path
-def test_cloudflare_model_info_includes_rpm(local_model_cost_map):
+def test_cloudflare_model_info_includes_rpm(local_model_cost_map: None) -> None:
assert litellm.get_model_info("cloudflare/@cf/meta/llama-3.1-8b-instruct-fp8")["rpm"] == 300
assert litellm.get_model_info("cloudflare/@cf/moonshotai/kimi-k2.6")["rpm"] == 20
assert litellm.get_model_info("cloudflare/@cf/openai/whisper-large-v3-turbo")["rpm"] == 720