mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
test(proxy): cover empty team listing deployments
This commit is contained in:
parent
df00250b37
commit
fa84dc63ec
1 changed files with 7 additions and 0 deletions
|
|
@ -763,3 +763,10 @@ def test_translate_model_names_for_listing_none_router():
|
|||
from litellm.proxy.proxy_server import _translate_model_names_for_listing
|
||||
|
||||
assert _translate_model_names_for_listing(["a", "b"], ()) == ["a", "b"]
|
||||
|
||||
|
||||
def test_get_team_model_deployments_for_listing_none_router():
|
||||
"""No router -> no deployment metadata to translate against."""
|
||||
from litellm.proxy.proxy_server import _get_team_model_deployments_for_listing
|
||||
|
||||
assert _get_team_model_deployments_for_listing(None) == ()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue