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

Method test_empty_tracker

tests/chat/test_token_tracker.py:30–35  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

28 """Test TokenTracker model."""
29
30 def test_empty_tracker(self):
31 tracker = TokenTracker()
32 assert tracker.total_input == 0
33 assert tracker.total_output == 0
34 assert tracker.total_tokens == 0
35 assert tracker.turn_count == 0
36
37 def test_record_turn(self):
38 tracker = TokenTracker()

Callers

nothing calls this directly

Calls 1

TokenTrackerClass · 0.90

Tested by

no test coverage detected