diff --git a/tests/test_litellm/proxy/batches_endpoints/test_endpoints.py b/tests/test_litellm/proxy/batches_endpoints/test_endpoints.py index 2aa16d041d4..3092da9e1e5 100644 --- a/tests/test_litellm/proxy/batches_endpoints/test_endpoints.py +++ b/tests/test_litellm/proxy/batches_endpoints/test_endpoints.py @@ -198,6 +198,10 @@ def harness(): stack.enter_context(patch.object(proxy_server, "general_settings", {})) stack.enter_context(patch.object(proxy_server, "proxy_config", MagicMock())) stack.enter_context(patch.object(proxy_server, "version", "test-version")) + # Default to a database-less proxy so managed-file resolution is a no-op + # unless a test opts in; keeps the routing rows that do not exercise it + # deterministic regardless of cross-file prisma_client pollution. + stack.enter_context(patch.object(proxy_server, "prisma_client", None)) h = Harness( body=body_holder,