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

Method test_string_none

tests/chat/test_tool_processor_extended.py:676–678  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

674 assert tp._try_parse_number(42) == 42 # not a string, returned as-is
675
676 def test_string_none(self):
677 tp = self._make_processor()
678 assert tp._try_parse_number("None") is None
679
680 def test_string_null(self):
681 tp = self._make_processor()

Callers

nothing calls this directly

Calls 2

_make_processorMethod · 0.95
_try_parse_numberMethod · 0.80

Tested by

no test coverage detected