add fixture to this

This commit is contained in:
Lorenze Jay
2025-01-24 14:54:49 -08:00
parent 27e49300f6
commit e4b97e328e

View File

@@ -1603,6 +1603,7 @@ def test_agent_with_knowledge_sources():
assert "red" in result.raw.lower()
@pytest.mark.vcr(filter_headers=["authorization"])
@patch("crewai.knowledge.storage.knowledge_storage.KnowledgeStorage")
@patch.object(BaseAgent, "copy")
def test_agent_with_knowledge_sources_works_with_copy(