MCPcopy
hub / github.com/Textualize/rich / test_render_single_node

Function test_render_single_node

tests/test_tree.py:10–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8
9
10def test_render_single_node():
11 tree = Tree("foo")
12 console = Console(color_system=None, width=20)
13 console.begin_capture()
14 console.print(tree)
15 assert console.end_capture() == "foo\n"
16
17
18def test_render_single_branch():

Callers

nothing calls this directly

Calls 5

begin_captureMethod · 0.95
printMethod · 0.95
end_captureMethod · 0.95
TreeClass · 0.90
ConsoleClass · 0.90

Tested by

no test coverage detected