clan-vm-manager: Basic pytest framework established
This commit is contained in:
8
pkgs/clan-vm-manager/tests/test_cli.py
Normal file
8
pkgs/clan-vm-manager/tests/test_cli.py
Normal file
@@ -0,0 +1,8 @@
|
||||
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"])
|
||||
Reference in New Issue
Block a user