diff --git a/tests/unit/test_router/test_router.py b/tests/unit/test_router/test_router.py index 0c94a4acf02..0625b87c89e 100644 --- a/tests/unit/test_router/test_router.py +++ b/tests/unit/test_router/test_router.py @@ -31368,9 +31368,9 @@ def test_router_keeps_supported_fallback_shapes( assert router.fallbacks == expected_fallbacks -def test_router_warns_when_a_deployment_enforces_endpoints_without_a_list(caplog): +def test_router_warns_when_a_deployment_enforces_endpoints_without_a_list(caplog: pytest.LogCaptureFixture) -> None: with caplog.at_level(logging.WARNING, logger="LiteLLM Router"): - router = Router( + router: Final = Router( model_list=[ { "model_name": "embed-from-config",