Test that bind increments ID for each binding.
(self, manager)
| 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.""" |
| 27 | b1 = manager.bind("sqrt", {"x": 18}, 4.2426) |
| 28 | b2 = manager.bind("multiply", {"a": 2, "b": 3}, 6) |
| 29 | assert b1.id == "v1" |
| 30 | assert b2.id == "v2" |
| 31 | |
| 32 | def test_bind_with_aliases(self, manager): |
| 33 | """Test binding with aliases.""" |
nothing calls this directly
no outgoing calls
no test coverage detected