Hi.
Currently, Validator.check_schema doesn't explicitly return True.
It would be easy to test the schema if returns True.
before
@classmethod
def check_schema(cls, schema):
for error in cls(cls.META_SCHEMA).iter_errors(schema):
raise exceptions.SchemaError.create_from(error)
↓
after
@classmethod
def check_schema(cls, schema):
for error in cls(cls.META_SCHEMA).iter_errors(schema):
raise exceptions.SchemaError.create_from(error)
return True
Thanks.