Test Step header formatting (from agent.py).
(self)
| 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.""" |
nothing calls this directly
no test coverage detected