()
| 62 | |
| 63 | |
| 64 | def test_text_column(): |
| 65 | text_column = TextColumn("[b]foo", highlighter=NullHighlighter()) |
| 66 | task = Task(1, "test", 100, 20, _get_time=lambda: 1.0) |
| 67 | text = text_column.render(task) |
| 68 | assert str(text) == "foo" |
| 69 | |
| 70 | text_column = TextColumn("[b]bar", markup=False) |
| 71 | task = Task(1, "test", 100, 20, _get_time=lambda: 1.0) |
| 72 | text = text_column.render(task) |
| 73 | assert text == Text("[b]bar") |
| 74 | |
| 75 | |
| 76 | def test_time_elapsed_column(): |
nothing calls this directly
no test coverage detected