From 8dc07febc734f30a8b1c2d79d89c5234f39535e4 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Sun, 9 Feb 2025 23:01:20 +0000 Subject: [PATCH] fix: sort imports and remove duplicate assertions Co-Authored-By: Joe Moura --- tests/crew_test.py | 4 ---- tests/utilities/evaluators/test_custom_llm_support.py | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/crew_test.py b/tests/crew_test.py index 0b8589550..ae5b099c9 100644 --- a/tests/crew_test.py +++ b/tests/crew_test.py @@ -3343,10 +3343,6 @@ def test_crew_testing_function(copy_mock, crew_evaluator_mock): mock.call().print_crew_evaluation_result(), ] ) - mock.call().set_iteration(2), - mock.call().print_crew_evaluation_result(), - ] - ) @pytest.mark.vcr(filter_headers=["authorization"]) diff --git a/tests/utilities/evaluators/test_custom_llm_support.py b/tests/utilities/evaluators/test_custom_llm_support.py index b4281aa66..43f281272 100644 --- a/tests/utilities/evaluators/test_custom_llm_support.py +++ b/tests/utilities/evaluators/test_custom_llm_support.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from crewai.agent import Agent from crewai.crew import Crew from crewai.llm import LLM