human
Complete this python program:
def _TestRemoveFollowers(tester, user_cookie, request_dict):
assistant
#Here is the Python program you requested.

    """Called by the ServiceTester in order to test remove_followers service API call.
    """
    validator = tester.validator
    (user_id, device_id) = tester.GetIdsFromCookie(user_cookie)
    request_dict = deepcopy(request_dict)
    viewpoint_id = request_dict['viewpoint_id']
    remove_ids = request_dict['remove_ids']
    actual_dict = tester.SendRequest('remove_followers', user_cookie, request_dict)
    op_dict = tester._DeriveNotificationOpDict(user_id, device_id, request_dict)
    for follower_id in remove_ids:
        follower = validator.GetModelObject(Follower, DBKey(follower_id, viewpoint_id), must_exist=False)
        if (follower is not None):
            new_labels = follower.labels.union([Follower.REMOVED, Follower.UNREVIVABLE])
            follower = validator.ValidateFollower(user_id=follower_id, viewpoint_id=viewpoint_id, labels=new_labels, last_updated=op_dict['op_timestamp'])
    activity_dict = {'name': 'remove_followers', 'activity_id': request_dict['activity']['activity_id'], 'timestamp': request_dict['activity']['timestamp'], 'follower_ids': remove_ids}
    def _GetInvalidate(follower_id):
        if (follower_id in remove_ids):
            return {'viewpoints': [{'viewpoint_id': viewpoint_id, 'get_attributes': True}]}
        else:
            return {'viewpoints': [{'viewpoint_id': viewpoint_id, 'get_followers': True}]}
    validator.ValidateFollowerNotifications(viewpoint_id, activity_dict, op_dict, _GetInvalidate)
    validator.ValidateViewpointAccounting(viewpoint_id)
    tester._CompareResponseDicts('remove_followers', user_id, request_dict, {}, actual_dict)
    return actual_dict