'Exception is raised when `name` is too long.'

def test_validate_domain_request_with_name_too_long(self):

    long_domain_name = ('a' * 65)
    request_to_validate = {'name': long_domain_name}
    self.assertRaises(exception.SchemaValidationError, self.create_domain_validator.validate, request_to_validate)
