def _TestUpdateFollower(tester, user_cookie, request_dict):
 (user_id, device_id) = tester.GetIdsFromCookie(user_cookie)
 request_dict = deepcopy(request_dict)
 actual_dict = tester.SendRequest('update_follower', user_cookie, request_dict)
 op_dict = tester._DeriveNotificationOpDict(user_id, device_id, request_dict)
 _ValidateUpdateFollower(tester, user_cookie, op_dict, request_dict['follower'])
 tester._CompareResponseDicts('update_follower', user_id, request_dict, {}, actual_dict)
 return actual_dict

def _TestUpdateFollower ( tester , user_cookie , request_dict ) : ( user_id , device_id ) = tester . GetIdsFromCookie ( user_cookie ) request_dict = deepcopy ( request_dict ) actual_dict = tester . SendRequest ( 'update_follower' , user_cookie , request_dict ) op_dict = tester . _DeriveNotificationOpDict ( user_id , device_id , request_dict ) _ValidateUpdateFollower ( tester , user_cookie , op_dict , request_dict [ 'follower' ] ) tester . _CompareResponseDicts ( 'update_follower' , user_id , request_dict , { } , actual_dict ) return actual_dict
called by the servicetester in order to test update_follower service api call .