Debian Codegraph @

tests/test_palette.py

raw
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