diff --git a/tests/fixtures/graphs_project/pyproject.toml b/tests/fixtures/graphs_project/pyproject.toml index 548d2e199..b975cd71a 100644 --- a/tests/fixtures/graphs_project/pyproject.toml +++ b/tests/fixtures/graphs_project/pyproject.toml @@ -3,17 +3,18 @@ greet = "echo hello" _noop.shell = ":" -_about = "echo about" -_do_setup = "echo here we go..." +_about = "echo about" +_do_setup = "echo here we go..." + [tool.poe.tasks.think] - shell = "echo Thinking $first_thing and $subject2" + cmd = "echo Thinking $first_thing and $subject2" deps = ["_noop", "_do_setup"] uses = { first_thing = "_about $subject1" } args = [{ name = "subject1", positional = true }, { name = "subject2", positional = true }] [tool.poe.tasks.deep-graph-with-args] - shell = "echo $greeting1 and $greeting2" + cmd = "echo $greeting1 and $greeting2" deps = ["_do_setup", "think $subject1 $subject2"] - uses = { "greeting1" = "greet $subject1", greeting2 = "greet $subject2"} + uses = { greeting1 = "greet $subject1", greeting2 = "greet $subject2"} args = ["subject1", "subject2"] diff --git a/tests/test_graph_execution.py b/tests/test_graph_execution.py index 982ad8a2b..195c53d0c 100644 --- a/tests/test_graph_execution.py +++ b/tests/test_graph_execution.py @@ -5,8 +5,8 @@ def test_call_attr_func(run_poe_subproc): "Poe => :\n" "Poe <= echo about\n" "Poe <= echo hello\n" - "Poe => echo Thinking $first_thing and $subject2\n" - "Poe => echo $greeting1 and $greeting2\n" + "Poe => echo Thinking about and\n" + "Poe => echo hello and hello\n" ) assert result.stdout == ( "here we go...\n" "Thinking about and\n" "hello and hello\n"