mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
fix(tests): add missing start_db_health_watchdog_task mock in test_health_check_not_called_when_disabled
This commit is contained in:
parent
f8901f5f05
commit
a2dea480e1
1 changed files with 1 additions and 0 deletions
|
|
@ -1623,6 +1623,7 @@ async def test_health_check_not_called_when_disabled(monkeypatch):
|
|||
mock_prisma.health_check = AsyncMock()
|
||||
mock_prisma.check_view_exists = AsyncMock()
|
||||
mock_prisma._set_spend_logs_row_count_in_proxy_state = AsyncMock()
|
||||
mock_prisma.start_db_health_watchdog_task = AsyncMock()
|
||||
# Mock the db attribute with start_token_refresh_task for RDS IAM token refresh
|
||||
mock_db = MagicMock()
|
||||
mock_db.start_token_refresh_task = AsyncMock()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue