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:
|
||||
"""Test running post tasks without conditions."""
|
||||
spec = {
|
||||
"post_tasks": [{"run": ["echo", "hello"]}, {"run": ["command", "hello"]}, {"run": ["command", "world"]}]
|
||||
}
|
||||
spec = {"post_tasks": [{"run": ["echo", "hello"]}, {"run": ["echo", "world"]}, {"run": ["echo", "test"]}]}
|
||||
context: dict[str, str] = {}
|
||||
cwd = temp_dir / "test_cwd"
|
||||
cwd.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
Reference in New Issue
Block a user