(legacy_term_mock)
| 39 | |
| 40 | |
| 41 | def test_text_with_style(legacy_term_mock): |
| 42 | text = "Hello, world!" |
| 43 | style = Style.parse("black on red") |
| 44 | buffer = [Segment(text, style)] |
| 45 | |
| 46 | legacy_windows_render(buffer, legacy_term_mock) |
| 47 | |
| 48 | legacy_term_mock.write_styled.assert_called_once_with(text, style) |
| 49 | |
| 50 | |
| 51 | def test_control_cursor_move_to(legacy_term_mock): |
nothing calls this directly
no test coverage detected