You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4907c4d
Browse filesBrowse the repository at this point in the historyBrowse files
PR-Contributor
committed
test: add server-level tests for remove_prompt and remove_resource
Add comprehensive tests in test_server.py following the same pattern
as remove_tool tests:
- test_remove_prompt: basic removal from server
- test_remove_nonexistent_prompt: error path
- test_remove_prompt_and_list: verify client list_prompts reflects removal
- test_remove_resource: basic removal from server
- test_remove_nonexistent_resource: error path
- test_remove_resource_and_list: verify client list_resources reflects removal
- test_remove_resource_template: template removal
- test_remove_nonexistent_template: template error path
These tests verify the protocol-level behavior when resources/prompts
are removed, ensuring clients see the changes correctly.
0 commit comments