(panel, width=50)
| 30 | |
| 31 | |
| 32 | def render(panel, width=50) -> str: |
| 33 | console = Console(file=io.StringIO(), width=50, legacy_windows=False) |
| 34 | console.print(panel) |
| 35 | result = console.file.getvalue() |
| 36 | print(result) |
| 37 | return result |
| 38 | |
| 39 | |
| 40 | @pytest.mark.parametrize("panel,expected", zip(tests, expected)) |
no test coverage detected
searching dependent graphs…