15 lines
580 B
Python
15 lines
580 B
Python
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"
|