mirror of
https://github.com/PR0M3TH3AN/VoxVera.git
synced 2025-09-08 23:18:42 +00:00
Add docs and CI/CD workflows
This commit is contained in:
13
tests/test_cli.py
Normal file
13
tests/test_cli.py
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
import os, sys
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
|
||||
|
||||
from voxvera.cli import main
|
||||
import pytest
|
||||
|
||||
|
||||
def test_help(capsys):
|
||||
with pytest.raises(SystemExit):
|
||||
main(["-h"])
|
||||
captured = capsys.readouterr()
|
||||
assert "usage:" in captured.out
|
Reference in New Issue
Block a user