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

Function test_picker_always_persists_pref

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

Source from the content-addressed store, hash-verified

286
287
288async 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
297async def test_picker_cancel(copy_env):

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected