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(proxy): type the router settings source test parameters

Yuneng Jiang1cc38f05f43c
diff --git a/tests/test_litellm/proxy/management_endpoints/test_router_settings_endpoints.py b/tests/test_litellm/proxy/management_endpoints/test_router_settings_endpoints.py
index 889bed13099..3fcda310435 100644
--- a/tests/test_litellm/proxy/management_endpoints/test_router_settings_endpoints.py
+++ b/tests/test_litellm/proxy/management_endpoints/test_router_settings_endpoints.py
@@ -89,7 +89,9 @@ class TestRouterSettingsEndpoints:
assert len(routing_strategy_field["options"]) > 0
@pytest.mark.asyncio
- async def test_get_router_settings_reports_sources(self, monkeypatch):
+ async def test_get_router_settings_reports_sources(
+ self, monkeypatch: pytest.MonkeyPatch
+ ) -> None:
store = SettingsStore("router_settings")
store.load_yaml({"routing_strategy": "simple-shuffle"})
store.apply_db_row("router_settings", {"num_retries": 3})