()
| 427 | |
| 428 | |
| 429 | def test_help_formatter_write_text(): |
| 430 | text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit" |
| 431 | formatter = click.HelpFormatter(width=len(" Lorem ipsum dolor sit amet,")) |
| 432 | formatter.current_indent = 2 |
| 433 | formatter.write_text(text) |
| 434 | actual = formatter.getvalue() |
| 435 | expected = " Lorem ipsum dolor sit amet,\n consectetur adipiscing elit\n" |
| 436 | assert actual == expected |
| 437 | |
| 438 | |
| 439 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected