From bb604b0b74ceb1039ac3765f4298a2e54124e466 Mon Sep 17 00:00:00 2001 From: Alexander Kalinovsky Date: Mon, 25 Aug 2025 20:12:47 +0300 Subject: [PATCH] refactor: update test case to use consistent echo commands in post tasks --- tests/test_cli.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index 590dadb..401fe7f 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -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)