test: add issue 658 verification doc coverage
This commit is contained in:
24
tests/test_issue_658_verification.py
Normal file
24
tests/test_issue_658_verification.py
Normal file
@@ -0,0 +1,24 @@
|
||||
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
|
||||
Reference in New Issue
Block a user