☰
Debian Codegraph
@
15.0.0-2
15.0.0-1
/
/
tests
/
test_palette.py
☽
☼
tests/test_palette.py
code
plain
raw
MIT
2020 Will McGugan
debian/copyright
1
from rich._palettes import STANDARD_PALETTE
2
from rich.table import Table
3
4
5
def test_rich_cast():
6
table = STANDARD_PALETTE.__rich__()
7
assert isinstance(table, Table)
8
assert table.row_count == 16