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

Method test_get_binding

tests/chat/state/test_manager.py:32–37  ·  view source on GitHub ↗

Test getting a binding.

(self, manager)

Source from the content-addressed store, hash-verified

30 assert binding.raw_value == 4.2426
31
32 def test_get_binding(self, manager):
33 """Test getting a binding."""
34 manager.bind_value("sqrt", {"x": 18}, 4.2426)
35 binding = manager.get_binding("v1")
36 assert binding is not None
37 assert binding.raw_value == 4.2426
38
39 def test_resolve_references(self, manager):
40 """Test resolving references."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected