forked from IQ.Lvbs/IQ.Pilot
IQ.Pilot Release Commit @ 0b96bd5
This commit is contained in:
11
iqpilot/tools/cabana/tests/test_cabana_ui.py
Normal file
11
iqpilot/tools/cabana/tests/test_cabana_ui.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
CABANA_DIR = Path(__file__).parent.parent
|
||||
|
||||
|
||||
class TestCabanaUi:
|
||||
def test_help(self):
|
||||
result = subprocess.run(["./_cabana", "-h"], cwd=CABANA_DIR, capture_output=True, text=True)
|
||||
assert result.returncode == 0, result.stderr
|
||||
assert "Usage:" in result.stderr
|
||||
Reference in New Issue
Block a user