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

Function test_arg_sets_level_headless

tests/test_effort_command.py:167–172  ·  view source on GitHub ↗
(isolated_settings)

Source from the content-addressed store, hash-verified

165# C. Headless arg paths (the keystone — no UI needed)
166# --------------------------------------------------------------------------- #
167async def test_arg_sets_level_headless(isolated_settings):
168 tmp_path = isolated_settings
169 out = await EFFORT_COMMAND.run("high", _ctx(tmp_path, ui=NullUIHost()))
170 assert out.message == f"Set effort level to high: {_HIGH_DESC}"
171 assert out.display == "user"
172 assert _persisted_effort() == "high"
173
174
175async def test_arg_sets_max(isolated_settings):

Callers

nothing calls this directly

Calls 4

NullUIHostClass · 0.90
_persisted_effortFunction · 0.85
_ctxFunction · 0.70
runMethod · 0.45

Tested by

no test coverage detected