def testValidate(self):
    self.assertRaises(
        datastore_errors.BadValueError,
        TestEntity.json_property.validate, "a")
Test validate method.
dataset/ETHPy150Open GoogleCloudPlatform/appengine-mapreduce/python/test/mapreduce/json_util_test.py/JsonPropertyTest.testValidate