Update gap report test for hub-core publish pass
Some checks failed
ci / validate-registry (push) Has been cancelled

Roster publish_fail count is now 12 after hub-core Gitea publish unblocked.
This commit is contained in:
2026-06-16 02:41:26 +02:00
parent 5b2789b813
commit d71f394911

View File

@@ -97,15 +97,15 @@ def test_collect_gap_report_from_roster():
roster = root / "registry/federation/local-repo-roster.yaml"
report = collect_gap_report(roster)
assert report["summary"]["total"] == 60
assert len(report["publish_fail"]) == 13
assert len(report["publish_fail"]) == 12
assert report["empty_scaffold_count"] >= 40
def test_format_gap_markdown_lists_publish_fail():
report = {
"roster_path": "/tmp/roster.yaml",
"summary": {"total": 60, "established": 60, "publish_pass": 47},
"publish_fail": [{"slug": "hub-core", "publish_note": "missing repo"}],
"summary": {"total": 60, "established": 60, "publish_pass": 48},
"publish_fail": [{"slug": "inter-hub", "publish_note": "missing repo"}],
"empty_scaffold_count": 1,
"empty_scaffolds": ["ops-bridge"],
"seeded_repos": [],
@@ -113,7 +113,7 @@ def test_format_gap_markdown_lists_publish_fail():
"local_capability_count": 3,
}
text = format_gap_markdown(report)
assert "hub-core" in text
assert "inter-hub" in text
assert "ops-bridge" in text