diff --git a/tests/test_openclaw_purge_report.py b/tests/test_openclaw_purge_report.py new file mode 100644 index 00000000..6f84ffce --- /dev/null +++ b/tests/test_openclaw_purge_report.py @@ -0,0 +1,28 @@ +from pathlib import Path + + +REPORT = Path("reports/openclaw-purge-2026-04-12.md") + + +def test_openclaw_purge_report_exists_with_required_sections(): + assert REPORT.exists(), "expected OpenClaw purge report artifact to exist" + content = REPORT.read_text() + assert "# OpenClaw Purge Report — 2026-04-12" in content + assert "## What was done" in content + assert "### the-nexus (this repo)" in content + assert "### timmy-config (complete)" in content + assert "### timmy-home (complete)" in content + assert "## What was preserved" in content + assert "## Remaining action" in content + assert "## Architecture going forward" in content + + +def test_openclaw_purge_report_preserves_core_findings(): + content = REPORT.read_text() + assert "PR #1278" in content + assert "PR #1279" in content + assert "PR #487" in content + assert "PR #595" in content + assert "27 previously closed OpenClaw issues across repos" in content + assert "The perplexity account lacks org admin permission." in content + assert "Reference: openclaw-purge-2026-04-12" in content