(tmp_path)
| 108 | |
| 109 | |
| 110 | def test_task_print_literal(tmp_path): |
| 111 | task = tasks.AllOsTask("test_task", ["notacommand"], literal="literal") |
| 112 | runner = tasks.TaskRunner(tmp_dir=tmp_path) |
| 113 | runner.run(task) |
| 114 | with open(pathlib.Path(runner.tmpdir) / runner.default_name) as fh: |
| 115 | assert "literal" in fh.read() |
| 116 | |
| 117 | |
| 118 | def test_task_timeout(tmp_path): |