mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-07 16:09:30 +00:00
Change lib/crewai/tests/test_flow_from_definition.py
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user