diff --git a/lib/crewai/tests/test_project.py b/lib/crewai/tests/test_project.py index ed2efa08f..ff3424cee 100644 --- a/lib/crewai/tests/test_project.py +++ b/lib/crewai/tests/test_project.py @@ -263,7 +263,8 @@ def test_crew_name(): def test_crew_decorator_propagates_class_name_to_instance(): """@crew-decorated factory method should set Crew.name to the decorated class name.""" - crew_instance = InternalCrew().crew() + crew = InternalCrew() + crew_instance = crew.crew() assert crew_instance.name == "InternalCrew" diff --git a/uv.lock b/uv.lock index 7451cfa17..208306165 100644 --- a/uv.lock +++ b/uv.lock @@ -13,7 +13,7 @@ resolution-markers = [ ] [options] -exclude-newer = "2026-04-18T07:00:00Z" +exclude-newer = "2026-04-18T03:00:00Z" [manifest] members = [