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

Function test_get_row_style

tests/test_table.py:152–158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150
151
152def test_get_row_style():
153 console = Console()
154 table = Table()
155 table.add_row("foo")
156 table.add_row("bar", style="on red")
157 assert table.get_row_style(console, 0) == Style.parse("")
158 assert table.get_row_style(console, 1) == Style.parse("on red")
159
160
161def test_vertical_align_top():

Callers

nothing calls this directly

Calls 5

add_rowMethod · 0.95
get_row_styleMethod · 0.95
ConsoleClass · 0.90
TableClass · 0.90
parseMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…