docs(xrechnung): 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 b3ccc56eff
commit c2be55d46e
5 changed files with 117 additions and 5 deletions
+16
View File
@@ -0,0 +1,16 @@
from __future__ import annotations
from govoplan_core.core.modules import documentation_structured_translation_issues
from govoplan_xrechnung.backend.manifest import manifest
def test_xrechnung_german_workflow_and_reference_are_complete() -> None:
topics = {topic.id: topic for topic in manifest.documentation}
assert len(topics) == 2
assert topics["xrechnung.inbound-validation"].metadata["kind"] == "workflow"
assert topics["xrechnung.reference.validation-profile-and-handoff"].metadata["kind"] == "reference"
for topic in topics.values():
assert all(topic.translations["de"].get(key) for key in ("title", "summary", "body"))
assert topic.structured_translation_version == "1"
assert "de" in topic.structured_translations
assert documentation_structured_translation_issues(topic) == ()