Release Admin v0.1.19 guided configuration packages
Module Package Release / publish-packages (push) Successful in 12s
Module Package Release / publish-packages (push) Successful in 12s
This commit is contained in:
@@ -60,6 +60,30 @@ class InterfaceDocumentationContractTests(unittest.TestCase):
|
||||
},
|
||||
)
|
||||
|
||||
def test_configuration_package_help_explains_safety_boundaries(self) -> None:
|
||||
topic = next(
|
||||
item
|
||||
for item in manifest.documentation
|
||||
if item.id == "admin.governance-and-module-lifecycle"
|
||||
)
|
||||
|
||||
self.assertIn("previous preflight stale", topic.body)
|
||||
self.assertIn("partial apply requires recovery", topic.body)
|
||||
self.assertIn("provenance", topic.body)
|
||||
german = (topic.translations or {}).get("de", {})
|
||||
self.assertIn("vorherige Vorprüfung ungültig", german.get("body", ""))
|
||||
self.assertIn("Teilanwendung Wiederherstellung", german.get("body", ""))
|
||||
|
||||
metadata = topic.metadata or {}
|
||||
self.assertIn(
|
||||
"Generic rollback is snapshot recovery; providers may expose narrower compensation separately.",
|
||||
metadata.get("limitations", ()),
|
||||
)
|
||||
self.assertIn(
|
||||
"Changing package inputs invalidates the previous preflight and requires another review.",
|
||||
metadata.get("operational_consequences", ()),
|
||||
)
|
||||
|
||||
def test_module_administrator_has_only_tenant_module_permissions(self) -> None:
|
||||
permissions = {item.scope for item in manifest.permissions}
|
||||
template = next(item for item in manifest.role_templates if item.slug == "module_admin")
|
||||
|
||||
Reference in New Issue
Block a user