docs(records): 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:
@@ -0,0 +1,14 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from govoplan_records.backend.manifest import manifest
|
||||
|
||||
|
||||
def test_records_german_workflow_and_reference_are_complete() -> None:
|
||||
topics = {topic.id: topic for topic in manifest.documentation}
|
||||
assert len(topics) == 5
|
||||
for topic in topics.values():
|
||||
assert all(topic.translations["de"].get(key) for key in ("title", "summary", "body"))
|
||||
workflow = topics["records.workspace"]
|
||||
assert workflow.metadata["kind"] == "workflow"
|
||||
assert workflow.conditions
|
||||
assert topics["records.filing"].metadata["kind"] == "reference"
|
||||
Reference in New Issue
Block a user