9 lines
188 B
Python
9 lines
188 B
Python
import pytest
|
|
from cli import Cli
|
|
|
|
|
|
def test_help(capfd: pytest.CaptureFixture) -> None:
|
|
cli = Cli()
|
|
with pytest.raises(SystemExit):
|
|
cli.run(["clan-vm-manager", "--help"])
|