Something went wrong. Try again.
The agent that grows with you
Something went wrong. Try again.
648 B · 21 lines
12345678910111213141516171819202122from pathlib import Pathimport 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
def test_setup_hermes_script_has_termux_path(): content = SETUP_SCRIPT.read_text(encoding="utf-8")
assert "is_termux()" in content assert ".[termux]" in content assert "constraints-termux.txt" in content assert "$PREFIX/bin" in content assert "Skipping tinker-atropos on Termux" in content