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

This commit is contained in:
2026-08-23 19:31:23 +02:00
parent 7c689b6939
commit a7ba1c772d
5 changed files with 46 additions and 6 deletions
+16
View File
@@ -0,0 +1,16 @@
from __future__ import annotations
from govoplan_core.core.modules import documentation_structured_translation_issues
from govoplan_dms.backend.manifest import manifest
def test_dms_german_reference_contract_is_complete() -> None:
topics = {topic.id: topic for topic in manifest.documentation}
assert topics["dms.boundary"].metadata["kind"] == "reference"
workflow = topics["dms.dvelop-d3"]
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"))
+1 -1
View File
@@ -112,7 +112,7 @@ def test_profile_rejects_origin_paths_and_embedded_credentials() -> None:
def test_manifest_declares_d3_without_claiming_target_test() -> None:
manifest = get_manifest()
assert manifest.version == "0.1.19"
assert manifest.version == "0.1.20"
assert manifest.external_providers[0].id == "dms.dvelop_d3"
assert manifest.architecture is not None
assert manifest.architecture.target_tested_providers == ()