Closed jmcnamara closed 10 years ago
There is an extra, superfluous, quote at the end of the blank validation output.
Example taken from docs:
import json import validictory data = json.loads(''' {"hello": "", "testing": ""}''') schema = { "properties": { "hello": { "blank": True # passes }, "testing": { "blank": False # fails } } } try: validictory.validate(data, schema) except validictory.validator.FieldValidationError as e: print e
Output:
Value '' for field 'testing' cannot be blank'
Regards,
John
Same as other issue. This is fixed in the GitHub master, although not in the 1.0.0a2 version on PyPI.
Closing.
There is an extra, superfluous, quote at the end of the blank validation output.
Example taken from docs:
Output:
Regards,
John