MCPcopy Create free account
hub / github.com/IBM/mcp-cli / test_create_soft_block

Method test_create_soft_block

tests/chat/state/test_models.py:216–223  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

214 """Tests for SoftBlock model."""
215
216 def test_create_soft_block(self):
217 block = SoftBlock(
218 reason=SoftBlockReason.UNGROUNDED_ARGS,
219 tool_name="normal_cdf",
220 arguments={"x": 1.5},
221 )
222 assert block.reason == SoftBlockReason.UNGROUNDED_ARGS
223 assert block.tool_name == "normal_cdf"
224
225 def test_can_repair(self):
226 block = SoftBlock(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected