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

Function _make_tracker

tests/commands/export/test_export_command.py:38–46  ·  view source on GitHub ↗
(
    turn_count: int = 3, total_input: int = 100, total_output: int = 200
)

Source from the content-addressed store, hash-verified

36
37
38def _make_tracker(
39 turn_count: int = 3, total_input: int = 100, total_output: int = 200
40) -> MagicMock:
41 t = MagicMock()
42 t.turn_count = turn_count
43 t.total_input = total_input
44 t.total_output = total_output
45 t.total_tokens = total_input + total_output
46 return t
47
48
49def _make_chat_context(

Calls

no outgoing calls

Tested by

no test coverage detected