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

This commit is contained in:
2026-08-23 20:27:27 +02:00
parent b0a9dc9739
commit d338403dbd
4 changed files with 140 additions and 4 deletions
+17
View File
@@ -17,6 +17,23 @@ from govoplan_core.core.workflows import (
class WorkflowManifestTests(unittest.TestCase):
def test_all_static_topics_have_complete_german_content(self) -> None:
manifest = get_manifest()
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
)
recovery = next(
topic
for topic in manifest.documentation
if topic.id == "workflow.runtime-recovery"
)
self.assertEqual("reference", recovery.metadata["kind"])
self.assertTrue(recovery.metadata["consequence_classes"])
def test_manifest_exposes_definition_contracts(self) -> None:
manifest = get_manifest()