mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 16:18:30 +00:00
feat: fix test
This commit is contained in:
@@ -2516,7 +2516,7 @@ def test_crew_testing_function(mock_kickoff, crew_evaluator):
|
||||
tasks=[task],
|
||||
)
|
||||
n_iterations = 2
|
||||
crew.test(n_iterations, model="gpt-4o-mini", inputs={"topic": "AI"})
|
||||
crew.test(n_iterations, openai_model_name="gpt-4o-mini", inputs={"topic": "AI"})
|
||||
|
||||
assert len(mock_kickoff.mock_calls) == n_iterations
|
||||
mock_kickoff.assert_has_calls(
|
||||
|
||||
Reference in New Issue
Block a user