(copy_env)
| 286 | |
| 287 | |
| 288 | async def test_picker_always_persists_pref(copy_env): |
| 289 | ui = FakeUIHost(pick="always") |
| 290 | out = await COPY_COMMAND.run("", _ctx(copy_env.tmp, [_msg("assistant", _BLOCKY)], ui=ui)) |
| 291 | assert out.message.endswith( |
| 292 | "\nPreference saved. Use /config to change copyFullResponse" |
| 293 | ) |
| 294 | assert cfg.ConfigManager(cwd=copy_env.tmp).get("copyFullResponse") is True |
| 295 | |
| 296 | |
| 297 | async def test_picker_cancel(copy_env): |
nothing calls this directly
no test coverage detected