Cerberus 1.3 renamed '{value,key}schema' to '{values,keys}rules'

'valueschema' and 'keyschema' have been replaced by 'valuesrules' and
'keysrules'. Note the change from 2x singular ('value' and 'schema') to
2x plural ('values' and 'rules').
This commit is contained in:
2019-05-29 11:00:27 +02:00
parent dd5cd5b61a
commit 8b42e88817
5 changed files with 22 additions and 10 deletions

View File

@@ -63,8 +63,8 @@ class UpgradeAttachmentSchemaTest(AbstractPillarTest):
"url": {"type": "string"},
"attachments": {
"type": "dict",
"keyschema": {"type": "string", "regex": "^[a-zA-Z0-9_ ]+$"},
"valueschema": {
"keysrules": {"type": "string", "regex": "^[a-zA-Z0-9_ ]+$"},
"valuesrules": {
"type": "dict",
"schema": {
"oid": {"type": "objectid", "required": True},