chore: remove decorator kwarg to ensure global conftest applies

This commit is contained in:
Greyson Lalonde
2025-11-07 17:01:30 -05:00
parent 54f8cc685f
commit 19f4ef0982
31 changed files with 1352 additions and 315 deletions

View File

@@ -54,7 +54,7 @@ class TestAgentEvaluator:
agent_evaluator.set_iteration(3)
assert agent_evaluator._execution_state.iteration == 3
@pytest.mark.vcr(filter_headers=["authorization"])
@pytest.mark.vcr()
def test_evaluate_current_iteration(self, mock_crew):
from crewai.events.types.task_events import TaskCompletedEvent
@@ -126,7 +126,7 @@ class TestAgentEvaluator:
):
assert isinstance(evaluator, expected_type)
@pytest.mark.vcr(filter_headers=["authorization"])
@pytest.mark.vcr()
def test_eval_specific_agents_from_crew(self, mock_crew):
from crewai.events.types.task_events import TaskCompletedEvent
@@ -215,7 +215,7 @@ class TestAgentEvaluator:
assert goal_alignment.raw_response is not None
assert '"score": 5' in goal_alignment.raw_response
@pytest.mark.vcr(filter_headers=["authorization"])
@pytest.mark.vcr()
def test_failed_evaluation(self, mock_crew):
(agent,) = mock_crew.agents
(task,) = mock_crew.tasks