clan-vm-manager: Basic pytest framework established

This commit is contained in:
Qubasa
2024-03-22 19:08:35 +01:00
parent 1d6cc49da5
commit 0ee8dceee2
12 changed files with 254 additions and 7 deletions

View 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"])