mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-06 00:15:39 +08:00
c2e2fcb8a3
version: sunnypilot v2026.003.000 (dev)
date: 2026-08-04T23:29:03
master commit: 2bc291783d
13 lines
325 B
Python
13 lines
325 B
Python
import subprocess
|
|
from pathlib import Path
|
|
|
|
|
|
JOTPLUGGLER_DIR = Path(__file__).parent
|
|
|
|
|
|
class TestJotpluggler:
|
|
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
|