style: format scheduling test

This commit is contained in:
lda
2026-09-09 19:56:05 +07:00 Verified
parent ecb5a76b12
commit ac560f0212
@@ -221,9 +221,7 @@ def test_graph_path_leaf_rejected_inside_schedule_traversal() -> None:
from wf_core.models.input_bindings import PathExpression
from wf_core.runtime.input_sources import MappingSourceResolver
graph_leaf = PathExpression.model_validate(
{"kind": "path", "path": "input.a"}
)
graph_leaf = PathExpression.model_validate({"kind": "path", "path": "input.a"})
with pytest.raises(WorkflowExecutionError, match="graph paths are invalid"):
resolve_schedule_expression(
graph_leaf, # type: ignore[arg-type]