mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
Fifteen tests assigned litellm.audit_log_callbacks, s3_callback_params or s3_audit_callback_params directly and leaned on two autouse fixtures to put them back. monkeypatch.setattr does that at the point of use, so each test now says what it sets, including the one that swaps the value mid-test to prove the cache does not serve the stale params. The fixtures keep only the work monkeypatch cannot do: the per-test empty callback list, and clearing the logger and audit caches around each test. |
||
|---|---|---|
| .. | ||
| team_metadata_validator_impls.py | ||
| test_access_group_team_sync.py | ||
| test_audit_log_callbacks.py | ||
| test_management_helpers_utils.py | ||
| test_object_permission_utils.py | ||
| test_team_member_permission_checks.py | ||
| test_team_metadata_validation.py | ||