docs(policy): complete German reference coverage
Module Package Release / publish-packages (push) Successful in 11s

This commit is contained in:
2026-08-23 20:11:46 +02:00
parent 5753488375
commit b5f431c766
5 changed files with 178 additions and 9 deletions
+12
View File
@@ -26,6 +26,18 @@ ROOT = pathlib.Path(__file__).resolve().parents[1]
class PolicyModuleContractTests(unittest.TestCase):
def test_all_static_topics_have_complete_german_content(self) -> None:
for topic in manifest.documentation:
german = (topic.translations or {}).get("de", {})
self.assertEqual(
{"title", "summary", "body"},
set(german),
topic.id,
)
self.assertTrue(
all(str(value).strip() for value in german.values()), topic.id
)
def test_policy_package_does_not_hard_require_access(self) -> None:
project = tomllib.loads((ROOT / "pyproject.toml").read_text(encoding="utf-8"))[
"project"