From bd27d03bc7abad55a691376b782dea0e8953f0f3 Mon Sep 17 00:00:00 2001 From: Brandon Hancock Date: Thu, 13 Mar 2025 10:38:18 -0400 Subject: [PATCH] more test improvements --- tests/crew_test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/crew_test.py b/tests/crew_test.py index e63b89b22..11fadd795 100644 --- a/tests/crew_test.py +++ b/tests/crew_test.py @@ -4153,6 +4153,9 @@ def test_manager_agent_with_tools_and_delegation(): process=Process.hierarchical, ) + # Explicitly call _create_manager_agent to set up delegation + crew._create_manager_agent() + # Verify that the manager agent has tools assert len(manager.tools) == 1 assert manager.tools[0].name == "Simple Test Tool"