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

Method test_bool_with_bindings

tests/chat/state/test_bindings.py:264–267  ·  view source on GitHub ↗

Test __bool__ returns True with bindings.

(self, manager)

Source from the content-addressed store, hash-verified

262 assert bool(manager) is False
263
264 def test_bool_with_bindings(self, manager):
265 """Test __bool__ returns True with bindings."""
266 manager.bind("sqrt", {"x": 18}, 4.2426)
267 assert bool(manager) is True
268
269
270class TestClassifyValueType:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected