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

Function _make_chat_context

tests/commands/usage/test_usage_command.py:27–30  ·  view source on GitHub ↗
(tracker=None)

Source from the content-addressed store, hash-verified

25
26
27def _make_chat_context(tracker=None) -> MagicMock:
28 ctx = MagicMock()
29 ctx.token_tracker = tracker
30 return ctx
31
32
33# ---------------------------------------------------------------------------

Calls

no outgoing calls

Tested by

no test coverage detected