From 4fb50da3e78c88ea1f0f1bdf583f5d0a2585f436 Mon Sep 17 00:00:00 2001 From: jesus Date: Tue, 8 Sep 2026 17:45:41 +0000 Subject: [PATCH] test(proxy): assert project write routes are self-managed so the gate test carries an assertion Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- tests/test_litellm/proxy/auth/test_route_checks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_litellm/proxy/auth/test_route_checks.py b/tests/test_litellm/proxy/auth/test_route_checks.py index 6b17263972b..ef03789f86a 100644 --- a/tests/test_litellm/proxy/auth/test_route_checks.py +++ b/tests/test_litellm/proxy/auth/test_route_checks.py @@ -3659,6 +3659,7 @@ def test_project_write_routes_reach_endpoint_for_internal_user(route): valid_token=valid_token, request_data={"team_id": "team-1"}, ) + assert RouteChecks.check_route_access(route=route, allowed_routes=LiteLLMRoutes.self_managed_routes.value) def test_project_delete_route_stays_proxy_admin_only():