'Validate long names.
Validate that an exception is raised when validating a string of 255+
characters passed in as a name.'

def test_create_entity_with_name_too_long_raises_exception(self):

    invalid_name = ('a' * 256)
    request_to_validate = {'name': invalid_name}
    self.assertRaises(exception.SchemaValidationError, self.create_schema_validator.validate, request_to_validate)
