Fixed unit test case

This commit is contained in:
Vidit-Ostwal
2025-02-10 02:35:28 +05:30
parent 2112a3a381
commit 216c1fb33f

View File

@@ -3101,7 +3101,7 @@ def test_crew_testing_function(kickoff_mock, copy_mock, crew_evaluator):
copy_mock.return_value = crew
n_iterations = 2
crew.test(n_iterations, openai_model_name="gpt-4o-mini", inputs={"topic": "AI"})
crew.test(n_iterations, eval_llm="gpt-4o-mini", inputs={"topic": "AI"})
# Ensure kickoff is called on the copied crew
kickoff_mock.assert_has_calls(