docs(workflow-engine): complete German reference coverage
Module Package Release / publish-packages (push) Successful in 11s
Module Package Release / publish-packages (push) Successful in 11s
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user