litellm/tests/e2e/management
mubashir1osmani a1873d89cc
test(e2e): add management suite covering key/team/user/org lifecycle and route permissions (#32300)
* test(e2e): add management suite covering key/team/user/org lifecycle and route permissions

* test(e2e): decouple the enforcement-flip assertion from upstream health

Polling for a 200 on the newly-allowed model required it to be a routable,
healthy upstream, which is not the contract under test; poll until the
key_model_access_denied 403 lifts instead, excluding 401 so a revoked key
cannot read as success. Also document that the delete test's deferred teardown
firing on an already-deleted key is deliberate: cleanup must survive the test
failing before the in-body delete, and the repeat delete is a warn-free no-op
(the proxy answers 404 No keys found)

* test(e2e): inline the management suite's model and tpm literals

* test(e2e): drop the models_mgmt suite line from the folder list

* test(e2e): write the tpm limit as a plain integer literal
2026-07-06 19:11:27 -07:00
..
conftest.py test(e2e): add management suite covering key/team/user/org lifecycle and route permissions (#32300) 2026-07-06 19:11:27 -07:00
management_client.py test(e2e): add management suite covering key/team/user/org lifecycle and route permissions (#32300) 2026-07-06 19:11:27 -07:00
test_management_e2e.py test(e2e): add management suite covering key/team/user/org lifecycle and route permissions (#32300) 2026-07-06 19:11:27 -07:00