From c8386e9532145a5c8d69e4aceb384a0b8dfee112 Mon Sep 17 00:00:00 2001 From: Alexander Whitestone Date: Wed, 22 Apr 2026 14:53:32 -0400 Subject: [PATCH] test: add issue 658 verification doc coverage --- tests/test_issue_658_verification.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tests/test_issue_658_verification.py diff --git a/tests/test_issue_658_verification.py b/tests/test_issue_658_verification.py new file mode 100644 index 00000000..2b5db57e --- /dev/null +++ b/tests/test_issue_658_verification.py @@ -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