(self)
| 69 | """Tests for ValueBinding model.""" |
| 70 | |
| 71 | def test_create_binding(self): |
| 72 | binding = ValueBinding( |
| 73 | id="v1", |
| 74 | tool_name="sqrt", |
| 75 | args_hash="abc123", |
| 76 | raw_value=4.2426, |
| 77 | value_type=ValueType.NUMBER, |
| 78 | ) |
| 79 | assert binding.id == "v1" |
| 80 | assert binding.tool_name == "sqrt" |
| 81 | assert binding.raw_value == 4.2426 |
| 82 | assert binding.value_type == ValueType.NUMBER |
| 83 | |
| 84 | def test_typed_value_coercion(self): |
| 85 | binding = ValueBinding( |
nothing calls this directly
no outgoing calls
no test coverage detected