mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00:00
Update test_provider.py
This commit is contained in:
parent
b86f8df29f
commit
4a9a88b683
1 changed files with 1 additions and 0 deletions
|
|
@ -305,6 +305,7 @@ class TestAzureStorageProvider:
|
|||
mock_container_client.get_blob_client.return_value = mock_blob_client
|
||||
|
||||
# Mock `from_connection_string` and `BlobServiceClient` constructor
|
||||
monkeypatch.setattr(provider, "BlobServiceClient", lambda *_: mock_blob_service_client)
|
||||
monkeypatch.setattr("azure.storage.blob.BlobServiceClient", lambda *_: mock_blob_service_client)
|
||||
|
||||
# Apply to instance variables
|
||||
|
|
|
|||
Loading…
Reference in a new issue