Files
crewAI/tests/agent_test.py
Devin AI 201a73289a fix: resolve type-checker and test isolation issues
- Remove hasattr/getattr calls that caused mypy type-checker errors
- Fix test mocking to use 'crewai.agent.Knowledge' for proper isolation
- Prevent network calls in tests by mocking Knowledge class constructor
- All knowledge-related tests now pass locally without API dependencies

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

76 KiB