mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
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>
This commit is contained in:
parent
b0b595c177
commit
4fb50da3e7
1 changed files with 1 additions and 0 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue