From 7781e169313ff01a2b12c2d049b17979561dbd65 Mon Sep 17 00:00:00 2001 From: Eduardo Chiarotti Date: Thu, 4 Jul 2024 20:19:17 -0300 Subject: [PATCH] fix: test_increment_tool_errors --- tests/task_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/task_test.py b/tests/task_test.py index f7f695d40..971fe654c 100644 --- a/tests/task_test.py +++ b/tests/task_test.py @@ -490,7 +490,7 @@ def test_increment_tool_errors(): with patch.object(Task, "increment_tools_errors") as increment_tools_errors: increment_tools_errors.return_value = None crew.kickoff() - increment_tools_errors.assert_called_once() + assert len(increment_tools_errors.mock_calls) == 3 def test_task_definition_based_on_dict():