mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
test: add has_set_count field to PoemState
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -15,6 +15,7 @@ class PoemState(FlowState):
|
|||||||
"""Test state model with default values that should be overridden."""
|
"""Test state model with default values that should be overridden."""
|
||||||
sentence_count: int = 1000 # Default that should be overridden
|
sentence_count: int = 1000 # Default that should be overridden
|
||||||
poem: str = ""
|
poem: str = ""
|
||||||
|
has_set_count: bool = False # Track whether we've set the count
|
||||||
|
|
||||||
|
|
||||||
def test_default_value_override(tmp_path):
|
def test_default_value_override(tmp_path):
|
||||||
|
|||||||
Reference in New Issue
Block a user