clan-core/pkgs/clan-app/tests/test_cli.py

9 lines
181 B
Python
Raw Normal View History

import pytest
from cli import Cli
def test_help(capfd: pytest.CaptureFixture) -> None:
cli = Cli()
with pytest.raises(SystemExit):
2024-06-05 09:23:12 +00:00
cli.run(["clan-app", "--help"])