Module Expr Str Assign NameStore Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ListLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ListLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num keyword NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Dict NameLoad Return NameLoad decorator_list
N/A N/A Test terminate_accont service API.
 N/A __author__ andy@emailscrubbed.com (Andy Kimball) copy deepcopy functools partial viewfinder.backend.base util viewfinder.backend.base.testing async_test viewfinder.backend.db.contact Contact viewfinder.backend.db.device Device viewfinder.backend.db.identity Identity viewfinder.backend.db.user User viewfinder.backend.www.test service_base_test TerminateAccountTestCase N/A N/A service_base_test ServiceBaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TerminateAccountTestCase self setUp N/A N/A N/A self _CreateSimpleTestAssets N/A testSimpleTerminate N/A N/A self N/A N/A N/A Terminate user account with a single identity. N/A N/A N/A N/A self _tester TerminateAccount N/A self _cookie2 N/A N/A N/A N/A self _cookies remove N/A self _cookie2 N/A testMultipleTerminate N/A N/A self N/A N/A N/A Terminate user account with multiple linked identities. N/A N/A N/A N/A self _tester LinkFacebookUser N/A id 100 user_cookie N/A self _cookie N/A N/A N/A N/A self _tester TerminateAccount N/A self _cookie N/A N/A N/A N/A self _cookies remove N/A self _cookie N/A testTerminateWithFriend N/A N/A self N/A N/A N/A Terminate user account that is friends with another account. N/A N/A N/A N/A self _tester ShareNew N/A self _cookie N/A N/A N/A self _episode_id N/A self _photo_ids N/A N/A N/A self _user2 user_id N/A N/A self _user3 user_id N/A N/A N/A N/A self _tester TerminateAccount N/A self _cookie2 N/A N/A N/A N/A self _cookies remove N/A self _cookie2 N/A testShareToTerminatedAccount N/A N/A self N/A N/A N/A Share to identity that was formerly connected to terminated account. N/A N/A N/A N/A self _tester TerminateAccount N/A self _cookie2 N/A N/A N/A N/A self _tester ShareNew N/A self _cookie N/A N/A N/A self _episode_id N/A self _photo_ids N/A FacebookGraph:2 N/A N/A N/A N/A self _cookies remove N/A self _cookie2 N/A testLoginAfterTerminate N/A N/A self N/A N/A N/A Try to log in with a terminated user cookie. N/A N/A N/A N/A self _tester TerminateAccount N/A self _cookie3 N/A N/A N/A self assertRaisesHttpError 401 N/A N/A self _tester TerminateAccount N/A self _cookie3 N/A N/A N/A N/A self _cookies remove N/A self _cookie3 N/A testTerminateWithContact N/A N/A self N/A N/A N/A Terminate user account to which a contact was linked. N/A identity_key Email:foo@emailscrubbed.com N/A contact_dict N/A N/A Contact CreateContactDict N/A N/A self _user user_id N/A N/A Email:user3@emailscrubbed.com None N/A util _TEST_TIME N/A Contact GMAIL N/A N/A N/A self _UpdateOrAllocateDBObject Contact contact_dict N/A N/A N/A N/A self _tester TerminateAccount N/A self _cookie3 N/A response_dict N/A N/A N/A self _tester QueryNotifications N/A self _cookie 1 scan_forward False N/A N/A N/A self assertEqual N/A N/A N/A response_dict N/A notifications N/A 0 N/A name unlink_identity N/A N/A N/A N/A self _cookies remove N/A self _cookie3 N/A N/A _TestTerminateAccount N/A N/A tester user_cookie request_dict N/A N/A N/A Called by the ServiceTester in order to test terminate_account
  service API call.
   N/A validator N/A tester validator N/A N/A user_id device_id N/A N/A tester GetIdsFromCookie user_cookie N/A request_dict N/A deepcopy request_dict N/A actual_dict N/A N/A tester SendRequest terminate_account user_cookie request_dict N/A op_dict N/A N/A tester _DeriveNotificationOpDict user_id device_id request_dict N/A N/A N/A validator ValidateTerminateAccount user_id op_dict N/A N/A N/A tester _CompareResponseDicts terminate_account user_id request_dict N/A actual_dict N/A actual_dict N/A