25 lines
848 B
Python
25 lines
848 B
Python
|
|
from pathlib import Path
|
||
|
|
|
||
|
|
|
||
|
|
def test_issue_658_verification_doc_exists_with_mainline_pr_triage_evidence() -> None:
|
||
|
|
text = Path("docs/issue-658-verification.md").read_text(encoding="utf-8")
|
||
|
|
|
||
|
|
required_snippets = [
|
||
|
|
"# Issue #658 Verification",
|
||
|
|
"## Status: ✅ ALREADY IMPLEMENTED ON MAIN",
|
||
|
|
"scripts/pr_backlog_triage.py",
|
||
|
|
"scripts/pr-backlog-triage.py",
|
||
|
|
"scripts/pr-triage-automation.py",
|
||
|
|
"tests/test_pr_backlog_triage.py",
|
||
|
|
"PR #763",
|
||
|
|
"closed unmerged",
|
||
|
|
"python3 scripts/pr_backlog_triage.py Timmy_Foundation/timmy-config --json",
|
||
|
|
"pytest -q tests/test_pr_backlog_triage.py",
|
||
|
|
"26 open PRs",
|
||
|
|
"duplicate PRs",
|
||
|
|
"stale PRs",
|
||
|
|
]
|
||
|
|
|
||
|
|
missing = [snippet for snippet in required_snippets if snippet not in text]
|
||
|
|
assert not missing, missing
|