Move client and other S3 objects instantiation to the init of the test class to avoid potential bugs of dealing with Class attributes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/8712
**Author:** [@rragundez](https://github.com/rragundez)
**Created:** 1/21/2025
**Status:** ✅ Merged
**Merged:** 1/21/2025
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `improve-s3-provider-tests`
---
### 📝 Commits (1)
- [`bdc6082`](https://github.com/open-webui/open-webui/commit/bdc6082221032ae03a981bfaff92040607cf443a) Move patchin of S3 obects inside the init
### 📊 Changes
**1 file changed** (+11 additions, -7 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/open_webui/test/apps/webui/storage/test_provider.py` (+11 -7)
</details>
### 📄 Description
Move client and other S3 objects instantiation to the __init__ of the test class to avoid potential bugs of dealing with Class attributes
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/8712
Author: @rragundez
Created: 1/21/2025
Status: ✅ Merged
Merged: 1/21/2025
Merged by: @tjbck
Base:
dev← Head:improve-s3-provider-tests📝 Commits (1)
bdc6082Move patchin of S3 obects inside the init📊 Changes
1 file changed (+11 additions, -7 deletions)
View changed files
📝
backend/open_webui/test/apps/webui/storage/test_provider.py(+11 -7)📄 Description
Move client and other S3 objects instantiation to the init of the test class to avoid potential bugs of dealing with Class attributes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.