(isolated_settings)
| 197 | |
| 198 | |
| 199 | async def test_arg_is_case_insensitive(isolated_settings): |
| 200 | tmp_path = isolated_settings |
| 201 | out = await EFFORT_COMMAND.run("HIGH", _ctx(tmp_path, ui=NullUIHost())) |
| 202 | assert out.message == f"Set effort level to high: {_HIGH_DESC}" |
| 203 | assert _persisted_effort() == "high" |
| 204 | |
| 205 | |
| 206 | async def test_invalid_arg_does_not_persist(isolated_settings, monkeypatch): |
nothing calls this directly
no test coverage detected