Normalize Rich/Typer help output for CI assertions.
(value: str)
| 21 | |
| 22 | |
| 23 | def plain_output(value: str) -> str: |
| 24 | """Normalize Rich/Typer help output for CI assertions.""" |
| 25 | return ANSI_RE.sub("", value) |
| 26 | |
| 27 | |
| 28 | @pytest.fixture(autouse=True) |
no outgoing calls
no test coverage detected