MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / test_picker_block_copy

Function test_picker_block_copy

tests/test_copy_command.py:281–285  ·  view source on GitHub ↗
(copy_env)

Source from the content-addressed store, hash-verified

279
280
281async 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
288async def test_picker_always_persists_pref(copy_env):

Callers

nothing calls this directly

Calls 4

FakeUIHostClass · 0.70
_ctxFunction · 0.70
_msgFunction · 0.70
runMethod · 0.45

Tested by

no test coverage detected