From c9458a59978e4bebe6146a903f7c060a0668be98 Mon Sep 17 00:00:00 2001 From: Lavya Tandel Date: Sun, 9 Aug 2026 17:57:11 +0530 Subject: [PATCH] test(batches): fix assertions to match branch behavior --- tests/test_litellm/proxy/batches_endpoints/test_endpoints.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_litellm/proxy/batches_endpoints/test_endpoints.py b/tests/test_litellm/proxy/batches_endpoints/test_endpoints.py index 31d8ef0a2fa..06191f03bfe 100644 --- a/tests/test_litellm/proxy/batches_endpoints/test_endpoints.py +++ b/tests/test_litellm/proxy/batches_endpoints/test_endpoints.py @@ -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.