def _TestBuildArchive(tester, user_cookie):
 (user_id, device_id) = tester.GetIdsFromCookie(user_cookie)
 request_dict = {'email': 'user1@emailscrubbed.com'}
 actual_dict = tester.SendRequest('build_archive', user_cookie, request_dict)
 tester._CompareResponseDicts('build_archive', user_id, request_dict, {}, actual_dict)
 return actual_dict

def _TestBuildArchive ( tester , user_cookie ) : ( user_id , device_id ) = tester . GetIdsFromCookie ( user_cookie ) request_dict = { 'email' : 'user1@emailscrubbed.com' } actual_dict = tester . SendRequest ( 'build_archive' , user_cookie , request_dict ) tester . _CompareResponseDicts ( 'build_archive' , user_id , request_dict , { } , actual_dict ) return actual_dict
called by the servicetester in order to test build_archive service api call .