diff --git a/tests/scheduling/test_schedule_expressions.py b/tests/scheduling/test_schedule_expressions.py index 28fa12c7..4d7e4234 100644 --- a/tests/scheduling/test_schedule_expressions.py +++ b/tests/scheduling/test_schedule_expressions.py @@ -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]