소스 검색

Update test_provider.py

Chris Pietschmann 2 달 전
부모
커밋
f674e28263
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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