Skip to content
Prev Previous commit
Next Next commit
adjust test imports
  • Loading branch information
alekszievr committed Mar 7, 2025
commit 61a1167940f2e4c0af747027aa1c3c40db6b2881
7 changes: 6 additions & 1 deletion cognee/tests/unit/eval_framework/deepeval_adapter_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@

with patch.dict(
sys.modules,
{"deepeval": MagicMock(), "deepeval.metrics": MagicMock(), "deepeval.test_case": MagicMock()},
{
"deepeval": MagicMock(),
"deepeval.metrics": MagicMock(),
"deepeval.test_case": MagicMock(),
"cognee.eval_framework.evaluation.metrics.context_match": MagicMock(),
},
):
from cognee.eval_framework.evaluation.deep_eval_adapter import DeepEvalAdapter

Expand Down