mirror of
https://github.com/open-webui/open-webui.git
synced 2025-03-27 02:02:31 +01:00
formatting
This commit is contained in:
parent
a29f83c4e7
commit
7404494772
@ -29,7 +29,6 @@ from azure.storage.blob import BlobServiceClient
|
||||
from azure.core.exceptions import ResourceNotFoundError
|
||||
|
||||
|
||||
|
||||
class StorageProvider(ABC):
|
||||
@abstractmethod
|
||||
def get_file(self, file_path: str) -> str:
|
||||
|
@ -280,7 +280,6 @@ class TestGCSStorageProvider:
|
||||
assert self.Storage.bucket.get_blob(self.filename_extra) == None
|
||||
|
||||
|
||||
|
||||
class TestAzureStorageProvider:
|
||||
@pytest.fixture(autouse=True)
|
||||
def setup_storage(self, monkeypatch):
|
||||
@ -310,7 +309,6 @@ class TestAzureStorageProvider:
|
||||
azure.storage.blob, "BlobClient", lambda *args, **kwargs: mock_blob_client
|
||||
)
|
||||
|
||||
|
||||
self.Storage = provider.AzureStorageProvider()
|
||||
self.Storage.endpoint = "https://myaccount.blob.core.windows.net"
|
||||
self.Storage.container_name = "my-container"
|
||||
|
Loading…
x
Reference in New Issue
Block a user