mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
fix(tests): fix mock _perform_health_check returning 2-tuple instead of 3
This commit is contained in:
parent
f3420c9ef0
commit
7fff84c879
1 changed files with 3 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue