Browse Source

Update test_provider.py

Chris Pietschmann 2 months ago
parent
commit
f674e28263
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend/open_webui/test/apps/webui/storage/test_provider.py

+ 1 - 1
backend/open_webui/test/apps/webui/storage/test_provider.py

@@ -292,7 +292,7 @@ class TestAzureStorageProvider:
         self.file_bytesio_empty = io.BytesIO()
         super().__init__()
 
-    @pytest.fixture
+    @pytest.fixture(scope="class")
     def setup(self, monkeypatch):
         """Mock BlobServiceClient and BlobContainerClient for local testing"""
         # Create mock Blob Service Client