hermes-agent/tests/tui_gateway/test_iso_certify_seam.py
teknium1 1693fca97a test: purge low-value tests, lane py20 (206 removed)
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).
2026-09-23 03:15:26 -07:00

16 lines
512 B
Python

"""The AC-4 synthetic heavy-turn agent (``tui_gateway/synthetic_turn.py``) is a
test seam: it must stay dead unless ``HERMES_ISO_CERTIFY_SYNTH_TURN=1``.
"""
from __future__ import annotations
from tui_gateway.synthetic_turn import (
maybe_build_synthetic_agent,
synth_turn_armed,
)
def test_synth_seam_dead_when_env_unset(monkeypatch):
monkeypatch.delenv("HERMES_ISO_CERTIFY_SYNTH_TURN", raising=False)
assert synth_turn_armed() is False
assert maybe_build_synthetic_agent("sid") is None