refactor: update test case to use consistent echo commands in post tasks
All checks were successful
CI / test (3.13) (push) Successful in 44s
All checks were successful
CI / test (3.13) (push) Successful in 44s
This commit is contained in:
@@ -340,9 +340,7 @@ class TestRunPostTasks:
|
|||||||
|
|
||||||
def test_run_post_tasks_without_conditions(self, temp_dir: Path) -> None:
|
def test_run_post_tasks_without_conditions(self, temp_dir: Path) -> None:
|
||||||
"""Test running post tasks without conditions."""
|
"""Test running post tasks without conditions."""
|
||||||
spec = {
|
spec = {"post_tasks": [{"run": ["echo", "hello"]}, {"run": ["echo", "world"]}, {"run": ["echo", "test"]}]}
|
||||||
"post_tasks": [{"run": ["echo", "hello"]}, {"run": ["command", "hello"]}, {"run": ["command", "world"]}]
|
|
||||||
}
|
|
||||||
context: dict[str, str] = {}
|
context: dict[str, str] = {}
|
||||||
cwd = temp_dir / "test_cwd"
|
cwd = temp_dir / "test_cwd"
|
||||||
cwd.mkdir(parents=True, exist_ok=True)
|
cwd.mkdir(parents=True, exist_ok=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user