Before submitting, make sure you've checked the following:
Target branch: Please verify that the pull request targets the dev branch.
Description: Provide a concise description of the changes made in this pull request.
Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
Testing: Have you written and run sufficient tests to validate the changes?
Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
Changelog Entry
Description
Fixes docker-based router tests
Comments out some of the tests that require cloud credentials
Switches to use pytest fixtures for test environment management
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 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/15606
**Author:** [@tokoko](https://github.com/tokoko)
**Created:** 7/9/2025
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `dev`
---
### 📝 Commits (4)
- [`3a256d6`](https://github.com/open-webui/open-webui/commit/3a256d641126ebbe008f1c9d88510d19001a19e1) fix: router tests
- [`f76c5a6`](https://github.com/open-webui/open-webui/commit/f76c5a6be5093d57006fc4891bf73d87ff71cdb6) fix: run formatter
- [`d521e89`](https://github.com/open-webui/open-webui/commit/d521e8919dee006009192f2380ee96f82a02c52a) test: switch tests to async
- [`412e064`](https://github.com/open-webui/open-webui/commit/412e064aabcdb1eeb3624fc92de7a06ca382d594) test: add notes router tests
### 📊 Changes
**14 files changed** (+995 additions, -847 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/open_webui/models/chats.py` (+3 -4)
📝 `backend/open_webui/routers/auths.py` (+6 -1)
📝 `backend/open_webui/routers/retrieval.py` (+15 -11)
➕ `backend/open_webui/test/apps/webui/routers/conftest.py` (+110 -0)
📝 `backend/open_webui/test/apps/webui/routers/test_auths.py` (+75 -63)
📝 `backend/open_webui/test/apps/webui/routers/test_chats.py` (+120 -91)
📝 `backend/open_webui/test/apps/webui/routers/test_models.py` (+22 -24)
➕ `backend/open_webui/test/apps/webui/routers/test_notes.py` (+101 -0)
📝 `backend/open_webui/test/apps/webui/routers/test_prompts.py` (+30 -22)
📝 `backend/open_webui/test/apps/webui/routers/test_users.py` (+78 -63)
📝 `backend/open_webui/test/apps/webui/storage/test_provider.py` (+425 -414)
📝 `backend/open_webui/test/util/abstract_integration_test.py` (+2 -144)
📝 `backend/open_webui/test/util/mock_user.py` (+7 -10)
📝 `pyproject.toml` (+1 -0)
</details>
### 📄 Description
# Pull Request Checklist
**Before submitting, make sure you've checked the following:**
- [x] **Target branch:** Please verify that the pull request targets the `dev` branch.
- [x] **Description:** Provide a concise description of the changes made in this pull request.
- [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [ ] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources?
- [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
- [x] **Testing:** Have you written and run sufficient tests to validate the changes?
- [x] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
# Changelog Entry
### Description
- Fixes docker-based router tests
- Comments out some of the tests that require cloud credentials
- Switches to use pytest fixtures for test environment management
### Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms.
---
<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/15606
Author: @tokoko
Created: 7/9/2025
Status: ❌ Closed
Base:
dev← Head:dev📝 Commits (4)
3a256d6fix: router testsf76c5a6fix: run formatterd521e89test: switch tests to async412e064test: add notes router tests📊 Changes
14 files changed (+995 additions, -847 deletions)
View changed files
📝
backend/open_webui/models/chats.py(+3 -4)📝
backend/open_webui/routers/auths.py(+6 -1)📝
backend/open_webui/routers/retrieval.py(+15 -11)➕
backend/open_webui/test/apps/webui/routers/conftest.py(+110 -0)📝
backend/open_webui/test/apps/webui/routers/test_auths.py(+75 -63)📝
backend/open_webui/test/apps/webui/routers/test_chats.py(+120 -91)📝
backend/open_webui/test/apps/webui/routers/test_models.py(+22 -24)➕
backend/open_webui/test/apps/webui/routers/test_notes.py(+101 -0)📝
backend/open_webui/test/apps/webui/routers/test_prompts.py(+30 -22)📝
backend/open_webui/test/apps/webui/routers/test_users.py(+78 -63)📝
backend/open_webui/test/apps/webui/storage/test_provider.py(+425 -414)📝
backend/open_webui/test/util/abstract_integration_test.py(+2 -144)📝
backend/open_webui/test/util/mock_user.py(+7 -10)📝
pyproject.toml(+1 -0)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.