Skip the current test unless *cli* is installed AND authenticated.
(cli: str)
| 62 | |
| 63 | |
| 64 | def _require(cli: str) -> None: |
| 65 | """Skip the current test unless *cli* is installed AND authenticated.""" |
| 66 | available, reason = _agent_cli.is_available(cli) |
| 67 | if not available: |
| 68 | pytest.skip(f"{cli} CLI not available: {reason}") |
| 69 | |
| 70 | |
| 71 | @pytest.mark.parametrize("cli", LIVE_CLIS) |
no test coverage detected