mirror of
https://github.com/open-webui/tests.git
synced 2026-11-05 01:37:32 +00:00
[PR #11] [CLOSED] test: cover MCP tools/list paginationtest: cover MCP tools list pagination #13
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/tests#13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/tests/pull/11
Author: @Vish12345678673
Created: 9/15/2026
Status: ❌ Closed
Base:
main← Head:test/mcp-tools-list-pagination📝 Commits (1)
0fda7c2test: cover MCP tools list pagination📊 Changes
1 file changed (+75 additions, -0 deletions)
View changed files
➕
unit/tools/test_mcp_tools_pagination.py(+75 -0)📄 Description
Adds regression coverage for MCP
tools/listpagination.Previously,
MCPClient.list_tool_specs()only processed the first page returned by the MCP server, ignoringnextCursorand therefore omitting tools from subsequent pages.The test verifies that:
tools/listpages are consumednextCursoris forwarded to the next requestVerification
The regression test fails against the pre-fix Open WebUI
maincommit:0a7c15832It passes against the upstream
devbranch containing the fix:a096961a3Test:
py -m pytest -q .\unit\tools\test_mcp_tools_pagination.pyResult:
1 passed🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.