test: split crew decorator call to match repo pattern

This commit is contained in:
Renato Nitta
2026-04-20 19:24:51 -03:00
parent 6604f0fe3b
commit 5cc6cb0a27
2 changed files with 3 additions and 2 deletions

View File

@@ -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"

2
uv.lock generated
View File

@@ -13,7 +13,7 @@ resolution-markers = [
]
[options]
exclude-newer = "2026-04-18T07:00:00Z"
exclude-newer = "2026-04-18T03:00:00Z"
[manifest]
members = [