()
| 28 | |
| 29 | |
| 30 | def test_render_double_branch(): |
| 31 | tree = Tree("foo") |
| 32 | tree.add("bar") |
| 33 | tree.add("baz") |
| 34 | console = Console(color_system=None, width=20) |
| 35 | console.begin_capture() |
| 36 | console.print(tree) |
| 37 | result = console.end_capture() |
| 38 | print(repr(result)) |
| 39 | expected = "foo\n├── bar\n└── baz\n" |
| 40 | assert result == expected |
| 41 | |
| 42 | |
| 43 | def test_render_ascii(): |
nothing calls this directly
no test coverage detected