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

Function test_lines_rich_console

tests/test_containers.py:30–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28
29
30def test_lines_rich_console():
31 console = Console()
32 lines = Lines([Text("foo")])
33
34 result = list(lines.__rich_console__(console, console.options))
35 assert result == [Text("foo")]
36
37
38def test_lines_justify():

Callers

nothing calls this directly

Calls 4

__rich_console__Method · 0.95
ConsoleClass · 0.90
LinesClass · 0.90
TextClass · 0.90

Tested by

no test coverage detected