fastmcp/tests
Chris Guidry afb22c4a74 Let FastMCPError propagate from dependencies
When a dependency raises ToolError or other FastMCPError subclasses, they
were getting wrapped in RuntimeError with a generic "Failed to resolve
dependency" message. This made it hard to use ToolError for validation
in dependencies.

Now FastMCPError subclasses propagate unchanged, matching the pattern
used elsewhere in the codebase.

Closes #2633

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 18:00:40 -05:00
..
cli Remove enable_docket setting; Docket is now always on 2025-12-05 11:40:04 -05:00
client Add AnthropicSamplingHandler (#2617) 2025-12-14 16:07:22 -05:00
contrib feat: Add title, annotations and meta to mixin decorators 2025-10-10 14:23:02 +05:30
deprecated Deprecate exclude_args in favor of Depends() (#2621) 2025-12-14 21:24:08 -05:00
experimental Unify SamplingHandler and promote OpenAI handler (#2616) 2025-12-14 15:22:43 -05:00
integration_tests Improve rate limit detection for integration tests 2025-12-04 11:52:40 -05:00
prompts Revert "Refactor prompt behavior and add meta support (#2600)" (#2608) 2025-12-13 14:57:50 -05:00
resources Revert "Refactor resource behavior and add meta support (#2598)" (#2609) 2025-12-13 15:02:18 -05:00
server Let FastMCPError propagate from dependencies 2025-12-23 18:00:40 -05:00
tools Add execution field to base Tool class 2025-12-08 17:07:49 -05:00
utilities Fix: Include signature modification in create_function_without_params (#2563) 2025-12-06 11:57:36 -05:00
__init__.py Update type handling for resources 2024-11-29 19:42:46 -05:00
conftest.py Use WindowsSelectorEventLoopPolicy to fix Windows test warnings (#2607) 2025-12-14 08:39:44 -05:00
test_mcp_config.py Bump ty to ==0.0.1a25 (#2350) 2025-11-02 20:02:45 -05:00