def setUp(self): from invenio.modules.jsonalchemy.validator import Validator self.validator = Validator()