Files
crewAI/tests/test_docker_validation.py
Devin AI 3129e7a4bc fix: Update I18N mocking strategy to use constructor mock
- Replace @patch('load_prompts') with @patch('I18N') decorator
- Mock I18N constructor to return MagicMock instance
- Prevent 'Prompt file None not found' errors during Agent instantiation
- Follow same mocking pattern as other tests in codebase

Co-Authored-By: João <joao@crewai.com>
2025-06-18 11:37:24 +00:00

7.3 KiB