rich/tests
Darren Burns 79a41db38f
Add padding support to `Syntax` (#2247)
* Add padding to Syntax constructor

* Add padding to from_path constructor, use correct type

* Padding for `Syntax` - support vertical padding

* Extract logic for create base syntax without padding

* Add test for padded `Syntax`

* Small refactor of Syntax padding

* Small refactor of Syntax padding

* Remove some dead code

* Update changelog
2022-05-03 16:32:50 +01:00
..
__init__.py init 2020-07-16 17:49:12 +01:00
_card_render.py eof 2022-01-08 13:32:46 +00:00
_exception_render.py black formatted 2020-07-15 11:42:11 +01:00
pytest.ini docs 2020-01-11 16:13:39 +00:00
render.py increse coverage to 100% 2020-10-10 23:51:01 +08:00
test_align.py rich measure 2021-03-25 21:08:36 +00:00
test_ansi.py fix for ansi issue 2022-03-26 14:40:20 +00:00
test_bar.py rich measure 2021-03-25 21:08:36 +00:00
test_block_bar.py rich measure 2021-03-25 21:08:36 +00:00
test_box.py Added max height 2021-07-11 14:25:14 +01:00
test_card.py don't remove tests 2020-11-25 22:32:42 +00:00
test_cells.py Revert "Fix width measurement of 353 emoji" 2022-01-17 15:02:04 +00:00
test_color.py test fix 2021-06-18 20:37:33 +01:00
test_color_triplet.py
test_columns.py chore: fix typos 2022-01-06 22:44:05 -08:00
test_columns_align.py background style, table width calculation 2020-10-15 21:17:03 +01:00
test_console.py Render height fix (#2246) 2022-05-03 13:23:43 +01:00
test_constrain.py rich measure 2021-03-25 21:08:36 +00:00
test_containers.py rich measure 2021-03-25 21:08:36 +00:00
test_control.py Setting terminal window title (#2200) 2022-04-19 17:20:17 +01:00
test_emoji.py emoji variant 2021-07-12 19:09:08 +01:00
test_file_proxy.py sorted 2022-04-21 10:16:42 +01:00
test_filesize.py Add some tests for new decimal() params 2021-07-09 09:57:31 +00:00
test_highlighter.py [highlighter] Fine-tuning on complex numbers pattern matching 2022-04-26 09:17:36 +01:00
test_inspect.py Fix test_inspect failures on PyPy3 2022-02-01 15:11:53 +01:00
test_json.py json: add support for default encoder 2021-10-06 11:29:18 +05:45
test_jupyter.py tests 2020-07-07 16:26:25 +01:00
test_layout.py tree tests changed 2022-02-26 20:25:42 +00:00
test_live.py Setting terminal window title (#2200) 2022-04-19 17:20:17 +01:00
test_live_render.py Added max height 2021-07-11 14:25:14 +01:00
test_log.py test fix 2022-01-07 14:58:29 +00:00
test_logging.py chore: fix typos 2022-01-06 22:44:05 -08:00
test_lrucache.py Run pycln over the entire project and double check the accuracy. 2022-03-11 19:12:35 +03:00
test_markdown.py pretty printable dataclasses 2021-03-06 14:14:06 +00:00
test_markdown_no_hyperlinks.py pretty printable dataclasses 2021-03-06 14:14:06 +00:00
test_markup.py fix escaping issue 2022-04-12 14:16:54 +01:00
test_measure.py rich measure 2021-03-25 21:08:36 +00:00
test_padding.py Added max height 2021-07-11 14:25:14 +01:00
test_palette.py black 2020-12-28 16:35:55 +00:00
test_panel.py panel bug 2022-03-21 16:31:41 +00:00
test_pick.py test bool 2020-06-07 10:05:26 +01:00
test_pretty.py In Pretty, when namedtuples have custom reprs, use them instead of our own 2022-03-08 11:38:52 +00:00
test_progress.py added test 2022-04-21 16:42:35 +01:00
test_prompt.py new black 2020-08-28 12:56:18 +01:00
test_protocol.py race condition and tests 2021-11-27 19:41:29 +00:00
test_ratio.py Fix double Optional 2021-04-22 20:24:23 -07:00
test_repr.py conditional test 2021-11-28 13:05:03 +00:00
test_rich_print.py Values exceeding the console's width break print_json 2021-11-06 11:49:33 -07:00
test_rule.py style optimization 2021-03-01 19:42:00 +00:00
test_screen.py disable legacy windows 2021-11-09 17:43:23 +00:00
test_segment.py formatting 2022-01-07 11:49:21 +00:00
test_spinner.py for environment to empty in tests 2022-01-05 14:40:36 +00:00
test_stack.py stack test 2019-12-24 12:51:31 +00:00
test_status.py Fixing coverage 2021-03-28 18:41:56 -07:00
test_style.py typefixes 2021-07-28 09:18:21 +01:00
test_styled.py rich measure 2021-03-25 21:08:36 +00:00
test_syntax.py Add padding support to `Syntax` (#2247) 2022-05-03 16:32:50 +01:00
test_table.py Run pycln over the entire project and double check the accuracy. 2022-03-11 19:12:35 +03:00
test_text.py fix for ansi issue 2022-03-26 14:40:20 +00:00
test_theme.py blackified 2020-10-03 14:12:52 +01:00
test_tools.py docs 2020-06-06 13:11:29 +01:00
test_traceback.py fix test 2022-05-02 20:25:44 +01:00
test_tree.py different on win 2022-02-26 21:14:53 +00:00
test_win32_console.py Fix incorrectly parameterised test 2022-03-14 10:44:19 +00:00
test_windows_renderer.py Setting terminal window title (#2200) 2022-04-19 17:20:17 +01:00