mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-14 07:05:10 +00:00
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.
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user