style: format scheduling test
This commit is contained in:
@@ -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.models.input_bindings import PathExpression
|
||||||
from wf_core.runtime.input_sources import MappingSourceResolver
|
from wf_core.runtime.input_sources import MappingSourceResolver
|
||||||
|
|
||||||
graph_leaf = PathExpression.model_validate(
|
graph_leaf = PathExpression.model_validate({"kind": "path", "path": "input.a"})
|
||||||
{"kind": "path", "path": "input.a"}
|
|
||||||
)
|
|
||||||
with pytest.raises(WorkflowExecutionError, match="graph paths are invalid"):
|
with pytest.raises(WorkflowExecutionError, match="graph paths are invalid"):
|
||||||
resolve_schedule_expression(
|
resolve_schedule_expression(
|
||||||
graph_leaf, # type: ignore[arg-type]
|
graph_leaf, # type: ignore[arg-type]
|
||||||
|
|||||||
Reference in New Issue
Block a user