docs(fit-connect): 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 ded8509ae7
commit d1bf9500b7
4 changed files with 46 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_fit_connect.backend.manifest import manifest
def test_fit_connect_german_reference_contract_is_complete() -> None:
topics = {topic.id: topic for topic in manifest.documentation}
assert topics["fit-connect.boundary"].metadata["kind"] == "reference"
workflow = topics["fit-connect.inbound-receipt"]
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
@@ -176,7 +176,7 @@ def test_receipt_from_another_submission_is_rejected() -> None:
def test_manifest_declares_no_active_target_and_has_german_documentation() -> None:
manifest = get_manifest()
assert manifest.version == "0.1.19"
assert manifest.version == "0.1.20"
assert manifest.external_providers[0].id == "fit_connect.submission_api"
assert manifest.architecture is not None
assert manifest.architecture.target_tested_providers == ()