(copy_env)
| 279 | |
| 280 | |
| 281 | async def test_picker_block_copy(copy_env): |
| 282 | ui = FakeUIHost(pick="0") |
| 283 | out = await COPY_COMMAND.run("", _ctx(copy_env.tmp, [_msg("assistant", _BLOCKY)], ui=ui)) |
| 284 | assert out.message.startswith("Copied to clipboard") |
| 285 | assert (copy_env.copy_dir / "copy.python").read_text() == "code_here" |
| 286 | |
| 287 | |
| 288 | async def test_picker_always_persists_pref(copy_env): |
nothing calls this directly
no test coverage detected