Files
clan-core/pkgs/clan-app/tests/test_cli.py
2024-06-05 11:24:59 +02:00

9 lines
181 B
Python

import pytest
from cli import Cli
def test_help(capfd: pytest.CaptureFixture) -> None:
cli = Cli()
with pytest.raises(SystemExit):
cli.run(["clan-app", "--help"])