mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
test(team): patch the scheduled member-add audit helper in the cache eviction test
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
2ade97f80e
commit
cc41b80770
1 changed files with 1 additions and 2 deletions
|
|
@ -13866,8 +13866,7 @@ async def test_team_member_add_evicts_the_new_members_cached_user_row_on_every_w
|
|||
side_effect=fake_add_team_members_to_team,
|
||||
),
|
||||
patch( # test-quality-ok: team_member_add has no injection seam for its prisma-backed helpers
|
||||
"litellm.proxy.management_endpoints.team_endpoints._create_team_member_add_audit_logs",
|
||||
new_callable=AsyncMock,
|
||||
"litellm.proxy.management_endpoints.team_endpoints._schedule_team_member_add_audit_logs",
|
||||
),
|
||||
):
|
||||
await team_member_add(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue