(self)
| 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( |
nothing calls this directly
no outgoing calls
no test coverage detected