docs(tasks): complete German workflow coverage
Module Package Release / publish-packages (push) Successful in 11s
Module Package Release / publish-packages (push) Successful in 11s
This commit is contained in:
@@ -10,6 +10,21 @@ REPOSITORY_ROOT = Path(__file__).resolve().parents[1]
|
||||
|
||||
|
||||
class TasksQuickAccessContractTests(unittest.TestCase):
|
||||
def test_public_topics_have_complete_german_workflow_and_reference_coverage(
|
||||
self,
|
||||
) -> None:
|
||||
topics = get_manifest().documentation
|
||||
kinds = {topic.metadata.get("kind", "system") for topic in topics}
|
||||
|
||||
self.assertEqual(3, len(topics))
|
||||
self.assertTrue({"workflow", "reference"}.issubset(kinds))
|
||||
for topic in topics:
|
||||
translation = topic.translations["de"]
|
||||
self.assertEqual({"title", "summary", "body"}, set(translation))
|
||||
self.assertTrue(
|
||||
all(str(translation[field]).strip() for field in translation)
|
||||
)
|
||||
|
||||
def test_manifest_declares_typed_work_result_and_help(self) -> None:
|
||||
tool = get_manifest().frontend.quick_access_tools[0]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user