From fa002bbe7c2735786c09586b4b19c17604ed5067 Mon Sep 17 00:00:00 2001 From: lda Date: Fri, 4 Sep 2026 23:37:39 +0700 Subject: [PATCH] fix: use canonical empty state schema in condition test --- tests/core/test_structured_runtime_context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core/test_structured_runtime_context.py b/tests/core/test_structured_runtime_context.py index bc797e49..6b9af92e 100644 --- a/tests/core/test_structured_runtime_context.py +++ b/tests/core/test_structured_runtime_context.py @@ -1036,7 +1036,7 @@ def test_condition_still_reads_prior_outcome() -> None: workflow = Workflow( name="condition_prior_outcome", input_schema=SchemaRef(type="object", properties={}), - state_schema=StateSchema(fields={}), + state_schema=StateSchema.from_field_map({}), output_schema=SchemaRef(type="object", properties={}), node_defs=[ NodeDef(