From eef6ae114c55aa7532ee2d76fff7b20449fd97d6 Mon Sep 17 00:00:00 2001 From: Eduardo Chiarotti Date: Thu, 4 Jul 2024 20:13:11 -0300 Subject: [PATCH] fix: call asserts --- tests/task_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/task_test.py b/tests/task_test.py index b9a4d6d2e..f7f695d40 100644 --- a/tests/task_test.py +++ b/tests/task_test.py @@ -419,7 +419,7 @@ def test_increment_delegations_for_hierarchical_process(): with patch.object(Task, "increment_delegations") as increment_delegations: increment_delegations.return_value = None crew.kickoff() - increment_delegations.assert_called_once + increment_delegations.assert_called_once() @pytest.mark.vcr(filter_headers=["authorization"]) @@ -455,7 +455,7 @@ def test_increment_delegations_for_sequential_process(): with patch.object(Task, "increment_delegations") as increment_delegations: increment_delegations.return_value = None crew.kickoff() - increment_delegations.assert_called_once + increment_delegations.assert_called_once() @pytest.mark.vcr(filter_headers=["authorization"]) @@ -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 + increment_tools_errors.assert_called_once() def test_task_definition_based_on_dict():