Change-detectors, tautologies, source-reading tests, redundant duplicates, mock-echo tests and dead/unrunnable tests. Per-test rationale in the lane ledger (category + reason for every removal).
14 lines
333 B
Python
14 lines
333 B
Python
from pathlib import Path
|
|
import subprocess
|
|
|
|
|
|
REPO_ROOT = Path(__file__).resolve().parents[2]
|
|
SETUP_SCRIPT = REPO_ROOT / "setup-hermes.sh"
|
|
|
|
|
|
def test_setup_hermes_script_is_valid_shell():
|
|
result = subprocess.run(["bash", "-n", str(SETUP_SCRIPT)], capture_output=True, text=True)
|
|
assert result.returncode == 0, result.stderr
|
|
|
|
|