docs(erp): complete German reference contract
Module Package Release / publish-packages (push) Successful in 10s

This commit is contained in:
2026-08-23 19:31:23 +02:00
parent a12e096366
commit 51dc33d8ae
4 changed files with 45 additions and 3 deletions
+16
View File
@@ -0,0 +1,16 @@
from __future__ import annotations
from govoplan_core.core.modules import documentation_structured_translation_issues
from govoplan_erp.backend.manifest import manifest
def test_erp_german_reference_contract_is_complete() -> None:
topics = {topic.id: topic for topic in manifest.documentation}
assert topics["erp.boundary"].metadata["kind"] == "reference"
workflow = topics["erp.payable-reconciliation"]
assert workflow.metadata["kind"] == "workflow"
assert workflow.structured_translation_version == "1"
assert "de" in workflow.structured_translations
assert documentation_structured_translation_issues(workflow) == ()
for topic in topics.values():
assert all(topic.translations["de"].get(key) for key in ("title", "summary", "body"))