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

Function test_no_assistant_message

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

Source from the content-addressed store, hash-verified

227
228
229async def test_no_assistant_message(copy_env):
230 out = await COPY_COMMAND.run("", _ctx(copy_env.tmp, [_msg("user", "q")], ui=NullUIHost()))
231 assert out.message == "No assistant message to copy"
232 assert out.display == "user"
233
234
235# --------------------------------------------------------------------------- #

Callers

nothing calls this directly

Calls 4

NullUIHostClass · 0.90
_ctxFunction · 0.70
_msgFunction · 0.70
runMethod · 0.45

Tested by

no test coverage detected