fix(tests): fix mock _perform_health_check returning 2-tuple instead of 3

This commit is contained in:
Sameer Kankute 2026-04-02 21:25:09 +05:30
parent f3420c9ef0
commit 7fff84c879
No known key found for this signature in database

View file

@ -500,7 +500,9 @@ async def test_perform_health_check_filters_by_model_id():
async def mock_perform_health_check(m_list, details=True, **kwargs):
captured_list.append(m_list)
return [{"model": "gpt-4", "api_key": m_list[0]["litellm_params"]["api_key"]}], []
return [
{"model": "gpt-4", "api_key": m_list[0]["litellm_params"]["api_key"]}
], [], {}
with patch(
"litellm.proxy.health_check._perform_health_check",