2026-08-24 03:08:56 -03:00
|
|
|
"""Run the focused vanilla HUX stop-control contract tests."""
|
|
|
|
|
|
|
|
|
|
from pathlib import Path
|
2026-08-24 06:32:46 -03:00
|
|
|
|
|
|
|
|
from hux_node_gate import require_node
|
2026-08-24 03:08:56 -03:00
|
|
|
import subprocess
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ROOT = Path(__file__).resolve().parents[2]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def test_hux_stop_runtime_node_contract() -> None:
|
|
|
|
|
"""The browser stop lane must remain owner-bound and truthfully partial."""
|
2026-08-24 06:32:46 -03:00
|
|
|
require_node()
|
2026-08-24 03:08:56 -03:00
|
|
|
subprocess.run(
|
|
|
|
|
["node", "--test", str(ROOT / "testing/tests/test_hermes_hux_runtime_stop_node.js")],
|
|
|
|
|
cwd=ROOT,
|
|
|
|
|
check=True,
|
|
|
|
|
)
|