(tmp_path, *, ui=None, tasks=None, tool_context="__default__")
| 29 | |
| 30 | |
| 31 | def _ctx(tmp_path, *, ui=None, tasks=None, tool_context="__default__"): |
| 32 | if tool_context == "__default__": |
| 33 | registry = SimpleNamespace(all=lambda: list(tasks or [])) |
| 34 | tool_context = SimpleNamespace(runtime_tasks=registry) |
| 35 | return create_command_context( |
| 36 | workspace_root=tmp_path, cwd=tmp_path, ui=ui, tool_context=tool_context |
| 37 | ) |
| 38 | |
| 39 | |
| 40 | # --------------------------------------------------------------------------- # |
no test coverage detected