'Validate trust request with invalid `roles` fails.'

def test_validate_trust_with_invalid_role_type_fails(self):

    for role in self._invalid_roles:
        request_to_validate = {'trustor_user_id': uuid.uuid4().hex, 'trustee_user_id': uuid.uuid4().hex, 'impersonation': False, 'roles': role}
        self.assertRaises(exception.SchemaValidationError, self.create_trust_validator.validate, request_to_validate)
