test: add has_set_count field to PoemState

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2025-01-19 08:30:38 +00:00
parent 4f4f229a0b
commit db626ec99d

View File

@@ -15,6 +15,7 @@ class PoemState(FlowState):
"""Test state model with default values that should be overridden."""
sentence_count: int = 1000 # Default that should be overridden
poem: str = ""
has_set_count: bool = False # Track whether we've set the count
def test_default_value_override(tmp_path):