test(proxy): document access group test seam

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Devin AI 2026-09-15 17:00:11 +00:00
parent 56d0f953f5
commit 79450121f8

View file

@ -523,7 +523,7 @@ async def test_can_team_access_model_error_lists_direct_and_access_group_models(
access_group_ids=["ag-1"],
)
with patch(
with patch( # test-quality-ok: access-group lookup has no dependency-injection seam
"litellm.proxy.auth.auth_checks._get_models_from_access_groups",
new=AsyncMock(return_value=["group-model"]),
):