mirror of
https://github.com/Textualize/rich.git
synced 2025-08-04 01:58:24 +00:00
test palette
This commit is contained in:
parent
6d616467f4
commit
8033eade3c
1 changed files with 8 additions and 0 deletions
8
tests/test_palette.py
Normal file
8
tests/test_palette.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
from rich._palettes import STANDARD_PALETTE
|
||||
from rich.table import Table
|
||||
|
||||
|
||||
def test_rich_cast():
|
||||
table = STANDARD_PALETTE.__rich__()
|
||||
assert isinstance(table, Table)
|
||||
assert table.row_count == 16
|
Loading…
Add table
Add a link
Reference in a new issue