MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / test_step_header

Method test_step_header

tests/test_terminal_utils.py:178–186  ·  view source on GitHub ↗

Test Step header formatting (from agent.py).

(self)

Source from the content-addressed store, hash-verified

176 """Tests for real-world usage scenarios."""
177
178 def test_step_header(self):
179 """Test Step header formatting (from agent.py)."""
180 step = 1
181 max_steps = 50
182 step_text = f"💭 Step {step}/{max_steps}"
183
184 width = calculate_display_width(step_text)
185 # "💭" (2) + " Step 1/50" (10) = 12
186 assert width == 12
187
188 def test_session_info_model(self):
189 """Test Session Info model line."""

Callers

nothing calls this directly

Calls 1

calculate_display_widthFunction · 0.90

Tested by

no test coverage detected