From f523ccb2fe63016ebfc7dae278c08cc0e772fe06 Mon Sep 17 00:00:00 2001 From: harish876 Date: Sat, 11 Apr 2026 00:07:52 +0000 Subject: [PATCH] Update import paths in tests for StorageBackendFileService - Changed the import path for `upload_file_to_storage_backend` in test files to reflect the new module structure. - Ensured consistency in mocking for storage backend service tests. --- .../proxy/openai_files_endpoint/test_files_endpoint.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_litellm/proxy/openai_files_endpoint/test_files_endpoint.py b/tests/test_litellm/proxy/openai_files_endpoint/test_files_endpoint.py index 66afded70a..1196944f3a 100644 --- a/tests/test_litellm/proxy/openai_files_endpoint/test_files_endpoint.py +++ b/tests/test_litellm/proxy/openai_files_endpoint/test_files_endpoint.py @@ -322,7 +322,7 @@ def test_target_storage_invokes_storage_backend( ) ) mocker.patch( - "litellm.proxy.openai_files_endpoints.files_endpoints.StorageBackendFileService.upload_file_to_storage_backend", + "litellm.proxy.openai_files_endpoints.storage_backend_service.StorageBackendFileService.upload_file_to_storage_backend", new=async_mock, ) @@ -381,7 +381,7 @@ def test_target_storage_with_target_models( ) ) mocker.patch( - "litellm.proxy.openai_files_endpoints.files_endpoints.StorageBackendFileService.upload_file_to_storage_backend", + "litellm.proxy.openai_files_endpoints.storage_backend_service.StorageBackendFileService.upload_file_to_storage_backend", new=async_mock, )