22 lines
760 B
Python
22 lines
760 B
Python
from pathlib import Path
|
|
|
|
|
|
def test_issue_545_verification_doc_exists_with_grounded_horizon_evidence() -> None:
|
|
text = Path("docs/issue-545-verification.md").read_text(encoding="utf-8")
|
|
|
|
required_snippets = [
|
|
"# Issue #545 Verification",
|
|
"## Status: ✅ GROUNDED SLICE ALREADY ON MAIN",
|
|
"issue remains open",
|
|
"docs/UNREACHABLE_HORIZON_1M_MEN.md",
|
|
"scripts/unreachable_horizon.py",
|
|
"tests/test_unreachable_horizon.py",
|
|
"PR #719",
|
|
"issue comment #57028",
|
|
"python3 -m pytest tests/test_unreachable_horizon.py -q",
|
|
"python3 scripts/unreachable_horizon.py",
|
|
]
|
|
|
|
missing = [snippet for snippet in required_snippets if snippet not in text]
|
|
assert not missing, missing
|