mirror of
https://github.com/PR0M3TH3AN/VoxVera.git
synced 2025-09-08 06:58:42 +00:00
14 lines
296 B
Python
14 lines
296 B
Python
|
|
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
|