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

Method test_bind_value

tests/chat/state/test_manager.py:26–30  ·  view source on GitHub ↗

Test binding a value.

(self, manager)

Source from the content-addressed store, hash-verified

24 return ToolStateManager()
25
26 def test_bind_value(self, manager):
27 """Test binding a value."""
28 binding = manager.bind_value("sqrt", {"x": 18}, 4.2426)
29 assert binding.id == "v1"
30 assert binding.raw_value == 4.2426
31
32 def test_get_binding(self, manager):
33 """Test getting a binding."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected