Test that bind creates a new binding.
(self, manager)
| 15 | return BindingManager() |
| 16 | |
| 17 | def test_bind_creates_binding(self, manager): |
| 18 | """Test that bind creates a new binding.""" |
| 19 | binding = manager.bind("sqrt", {"x": 18}, 4.2426) |
| 20 | assert binding.id == "v1" |
| 21 | assert binding.tool_name == "sqrt" |
| 22 | assert binding.raw_value == 4.2426 |
| 23 | assert binding.value_type == ValueType.NUMBER |
| 24 | |
| 25 | def test_bind_increments_id(self, manager): |
| 26 | """Test that bind increments ID for each binding.""" |
nothing calls this directly
no outgoing calls
no test coverage detected