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

Function test_arg_is_case_insensitive

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

Source from the content-addressed store, hash-verified

197
198
199async def test_arg_is_case_insensitive(isolated_settings):
200 tmp_path = isolated_settings
201 out = await EFFORT_COMMAND.run("HIGH", _ctx(tmp_path, ui=NullUIHost()))
202 assert out.message == f"Set effort level to high: {_HIGH_DESC}"
203 assert _persisted_effort() == "high"
204
205
206async def test_invalid_arg_does_not_persist(isolated_settings, monkeypatch):

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