Files
crewAI/lib
Devin AI 9dfad32efe fix: Remove problematic patch() calls from MCP tests
- Remove all patch() calls for module-local names (streamablehttp_client, ClientSession)
- Rely solely on sys.modules stub fixture for mcp module imports
- Patch ClientSession.__init__ directly to configure mock behavior
- This fixes AttributeError issues where patch() tried to access non-existent module attributes

Co-Authored-By: João <joao@crewai.com>
2025-10-26 10:06:07 +00:00
..