mirror of
https://github.com/Textualize/rich.git
synced 2025-08-04 10:08:40 +00:00
added reconfigure
This commit is contained in:
parent
04b23b8ac7
commit
12b268d223
6 changed files with 51 additions and 2 deletions
|
@ -9,6 +9,11 @@ def test_get_console():
|
|||
assert isinstance(console, Console)
|
||||
|
||||
|
||||
def test_reconfigure_console():
|
||||
rich.reconfigure(width=100)
|
||||
assert rich.get_console().width == 100
|
||||
|
||||
|
||||
def test_rich_print():
|
||||
console = rich.get_console()
|
||||
output = io.StringIO()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue