feat: unify installation model catalog

This commit is contained in:
Codex
2026-09-02 18:45:33 +02:00
parent ae053961a3
commit 7b7927bfe5
169 changed files with 3696 additions and 4572 deletions
@@ -91,8 +91,8 @@ CASES = [
def workspace_region(extra=""):
body = (
"Schema v3 is the only accepted workspace descriptor. "
"Schema v1 and v2 workspace descriptors are rejected before activation."
"Schema v4 is the only accepted workspace descriptor. "
"Schema v1, v2, and v3 workspace descriptors are rejected before activation."
)
if extra:
body += "\n" + extra
@@ -335,16 +335,16 @@ class RegionStructureTests(unittest.TestCase):
def test_noncanonical_contract_sentences_are_rejected(self):
variants = (
workspace_region().replace(
"Schema v3 is the only accepted workspace descriptor.",
"Only schema v3 workspace descriptors are accepted.",
"Schema v4 is the only accepted workspace descriptor.",
"Only schema v4 workspace descriptors are accepted.",
),
workspace_region().replace(
"Schema v3 is the only accepted workspace descriptor.",
"Not Schema v3 is the only accepted workspace descriptor.",
"Schema v4 is the only accepted workspace descriptor.",
"Not Schema v4 is the only accepted workspace descriptor.",
),
workspace_region().replace(
"Schema v1 and v2 workspace descriptors are rejected before activation.",
"Not Schema v1 and v2 workspace descriptors are rejected before activation.",
"Schema v1, v2, and v3 workspace descriptors are rejected before activation.",
"Not Schema v1, v2, and v3 workspace descriptors are rejected before activation.",
),
)
for index, noncanonical in enumerate(variants):