(isolated_settings)
| 165 | # C. Headless arg paths (the keystone — no UI needed) |
| 166 | # --------------------------------------------------------------------------- # |
| 167 | async def test_arg_sets_level_headless(isolated_settings): |
| 168 | tmp_path = isolated_settings |
| 169 | out = await EFFORT_COMMAND.run("high", _ctx(tmp_path, ui=NullUIHost())) |
| 170 | assert out.message == f"Set effort level to high: {_HIGH_DESC}" |
| 171 | assert out.display == "user" |
| 172 | assert _persisted_effort() == "high" |
| 173 | |
| 174 | |
| 175 | async def test_arg_sets_max(isolated_settings): |
nothing calls this directly
no test coverage detected