feat: unify installation model catalog
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user