Test update from completed state.
(self)
| 296 | assert update.show_spinner is True |
| 297 | |
| 298 | def test_from_completed_state(self): |
| 299 | """Test update from completed state.""" |
| 300 | state = StreamingState() |
| 301 | state.add_chunk(StreamingChunk(content="Done")) |
| 302 | state.complete() |
| 303 | |
| 304 | update = DisplayUpdate.from_state(state) |
| 305 | |
| 306 | assert update.phase == StreamingPhase.COMPLETED |
| 307 | assert update.show_spinner is False |
| 308 | |
| 309 | def test_update_with_reasoning(self): |
| 310 | """Test update includes reasoning content.""" |
nothing calls this directly
no test coverage detected