mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-12 08:42:18 +00:00
test(batches): fix assertions to match branch behavior
This commit is contained in:
parent
2c6fc25acc
commit
c9458a5997
1 changed files with 2 additions and 1 deletions
|
|
@ -1483,6 +1483,8 @@ async def test_list__managed_files_path(list_harness):
|
|||
user_api_key_dict=user,
|
||||
limit=7,
|
||||
after="batch-cursor",
|
||||
provider=None,
|
||||
target_model_names=None,
|
||||
llm_router=list_harness.router,
|
||||
)
|
||||
list_harness.litellm_alist.assert_not_called()
|
||||
|
|
@ -1505,7 +1507,6 @@ async def test_list__managed_files_rejects_provider_filter(list_harness):
|
|||
limit=7,
|
||||
after="batch-cursor",
|
||||
provider="openai",
|
||||
target_model_names="m1,m2",
|
||||
)
|
||||
|
||||
# Filtered requests bypass managed-files and use provider fallback.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue