fastmcp/tests
Jeremiah Lowin 7d3dcdca03 Add tests for title priority logic in tools
- Test that explicit title takes priority over annotations.title
- Test that annotations.title is used as fallback when no explicit title
- Ensures the improved to_mcp_tool logic works correctly
- Add proper type guards for annotations None checks

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-28 19:58:38 -04:00
..
auth Add structured content & update almost all tests 2025-06-27 15:40:52 -04:00
cli Alias streamable-http as http 2025-06-22 20:00:11 -04:00
client Support constrained choice 2025-06-28 14:59:31 -04:00
contrib Merge pull request #901 from jlowin/output-schema 2025-06-28 08:16:06 -04:00
deprecated Add structured content & update almost all tests 2025-06-27 15:40:52 -04:00
prompts Add automatic MCP list change notifications and client message handling 2025-06-24 22:33:06 -04:00
resources Add automatic MCP list change notifications and client message handling 2025-06-24 22:33:06 -04:00
server Fix output schema test 2025-06-28 08:14:31 -04:00
test_servers Update tests for prompts 2025-06-04 16:37:41 -04:00
tools Add tests for title priority logic in tools 2025-06-28 19:58:38 -04:00
utilities Merge branch 'main' into elicitation 2025-06-28 15:08:16 -04:00
__init__.py Update type handling for resources 2024-11-29 19:42:46 -05:00
conftest.py Only apply log config to FastMCP loggers 2025-04-14 15:45:05 -04:00
test_examples.py Add structured content & update almost all tests 2025-06-27 15:40:52 -04:00