Change lib/crewai/tests/test_flow_from_definition.py

This commit is contained in:
Vinicius Brasil
2026-06-11 11:34:52 -07:00
parent ab57853fc6
commit e22732814e

View File

@@ -537,7 +537,7 @@ def test_dict_state_is_a_copy_of_default_plus_id():
second = Flow.from_definition(definition)
assert second.state["count"] == 5
assert "begin_ran" not in second.state.model_dump()
assert "begin_ran" not in second.state
assert second.state["id"] != flow.state["id"]
assert definition.state.default == {"count": 5}