litellm/tests/e2e/management
Yuneng Jiang 0d9c5159df
test(e2e): assert config ownership instead of absence from the stored row
/config/field/info used to answer from the LiteLLM_Config row, so "the field
400s" proved the row did not carry it. It now answers from the resolved
settings, and the CI stack config declares general_settings.max_parallel_requests,
so the endpoint returns that value and the old assertion could never hold.

The check that /add/allowed_ip writes only what the caller changed moves to
/config/list, which still reports stored_in_db off the row, and the field/info
call now asserts the ownership the endpoint reports: the config file owns the
key, so it reads back as source=config and editable=false.

Verified against a live proxy on an isolated Postgres rather than in CI, where
this check has never run: it waits on protected-environment approval.
2026-09-18 02:53:37 -07:00
..
conftest.py test: bind management E2E callers and isolate JWT actors 2026-09-12 13:29:04 -07:00
jwt_actors.py test: enforce isolated actors and stop OIDC process groups 2026-09-12 13:49:49 -07:00
management_client.py test: enforce isolated actors and stop OIDC process groups 2026-09-12 13:49:49 -07:00
test_budget_customer_user_org_e2e.py test(e2e): un-skip the per-model budget update case 2026-08-26 18:09:10 -07:00
test_config_misc_endpoints_e2e.py test(e2e): assert config ownership instead of absence from the stored row 2026-09-18 02:53:37 -07:00
test_jwt_management_e2e.py test: enforce isolated actors and stop OIDC process groups 2026-09-12 13:49:49 -07:00
test_key_lifecycle_e2e.py test(e2e): read a deleted key back as deleted, not as a 404 2026-09-17 02:38:27 +00:00
test_key_management_e2e.py fix(keys): preserve audit null and qualify split deployments 2026-09-11 22:33:36 -07:00
test_management_e2e.py test(e2e): require a 200 inside the regenerate grace window and drop the helper docstrings 2026-09-05 11:53:22 -07:00
test_mcp_lifecycle_e2e.py fix(mcp): honor an explicit null on toolset update, cover MCP lifecycle e2e (#40022) 2026-09-08 22:50:13 -07:00
test_model_tag_accessgroup_e2e.py test(model_management): drive /model/block and /model/unblock through response serialization 2026-08-29 21:39:07 -07:00
test_model_test_connection_e2e.py test(e2e): retry timeout-shaped Mantle test_connection probes 2026-08-25 11:05:38 -07:00
test_team_management_e2e.py fix(proxy): refuse a team admin's budget write when the budget changed mid-request 2026-09-16 18:11:53 -07:00