'Exception is raised when the duplicated `remote_ids` is found.'

def test_validate_idp_request_with_duplicated_remote_id(self):

    idp_id = uuid.uuid4().hex
    request_to_validate = {'remote_ids': [idp_id, idp_id]}
    self.assertRaises(exception.SchemaValidationError, self.create_idp_validator.validate, request_to_validate)
    self.assertRaises(exception.SchemaValidationError, self.update_idp_validator.validate, request_to_validate)
