Files
StarPilot/openpilot/tools/jotpluggler/test_jotpluggler.py
T
2026-07-21 11:02:34 -07:00

14 lines
396 B
Python

import subprocess
from pathlib import Path
JOTPLUGGLER_DIR = Path(__file__).parent
from openpilot.common.test import OpenpilotTestCase
class TestJotpluggler(OpenpilotTestCase):
def test_help(self):
result = subprocess.run(["./jotpluggler", "-h"], cwd=JOTPLUGGLER_DIR, capture_output=True, text=True)
assert result.returncode == 0, result.stderr
assert "Usage:" in result.stderr