We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec2fa35 commit dd2061dCopy full SHA for dd2061d
test.py
@@ -105,6 +105,7 @@ def validateSchema(testFile, schemaFile):
105
}
106
107
testInput = readFile(testFile)
108
+ jsonschema.validate(testInput, schema)
109
try:
110
jsonschema.validate(testInput, schema)
111
except:
@@ -123,6 +124,8 @@ def validateTestFile(testFile):
123
124
schemaFile = "JSONSchema/st-schema.json"
125
elif testFile.startswith("./BlockchainTests/"):
126
schemaFile = "JSONSchema/bc-schema.json"
127
+ elif testFile.startswith("./GenesisTests/"):
128
+ schemaFile = "JSONSchema/genesis-schema.json"
129
else:
130
_logerror("Do not know how to validate file:", testFile)
131
return
0 commit comments