mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #23613] test: add integration tests for notes API #58695
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mohi-devhub on GitHub (Apr 12, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23613
Check Existing Issues
Verify Feature Scope
Problem Description
The notes API (routers/notes.py) has no test coverage. The test directory has tests for auths, models, and users, but notes is missing. This is particularly important given the recent multi-word search normalisation fix, which had no regression test to prevent future breakage.
Related to #21783 (backend test coverage gap).
Desired Solution you'd like
Add test_notes.py following the same pattern as test_users.py, covering:
Alternatives Considered
No response
Additional Context
No response