Module Expr Str Assign NameStore Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore Dict Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Dict Str Str NameLoad Num ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Dict Str ListLoad Dict Str Str NameLoad ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Dict keyword AttributeLoad NameLoad attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore Dict Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Dict Str Str NameLoad Num ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword Dict Str Str Str Str Str Str Str Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Delete SubscriptDel NameLoad Index Str Delete SubscriptDel NameLoad Index Str Delete SubscriptDel NameLoad Index Str Delete SubscriptDel NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Dict Str NameLoad keyword AttributeLoad NameLoad attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad Dict Str ListLoad Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Dict Str Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Dict Str Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad For NameStore NameLoad body If BoolOpAnd CompareIsNot NameLoad NameLoad CompareGtE SubscriptLoad NameLoad Index NameLoad NameLoad body Return NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore NameLoad For NameStore SubscriptLoad NameLoad Index Str body If BoolOpAnd CompareIsNot NameLoad NameLoad CompareLtE NameLoad NameLoad body Return NameLoad Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ListLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Str For NameStore NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Str Return NameLoad decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Dict Str Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str keyword NameLoad keyword Num keyword NameLoad keyword NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ListLoad TupleLoad NameLoad NameLoad Assign NameStore Dict Str Dict Str Str NameLoad Str Assign NameStore Dict Str Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpAdd Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad TupleLoad NameLoad Str TupleLoad BinOpAdd Str AttributeLoad AttributeLoad NameLoad attr attr Str TupleLoad Str Str keyword Num keyword AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Num keyword AttributeLoad NameLoad attr keyword Str keyword Call AttributeLoad NameLoad attr Str Num keyword ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str keyword Num keyword AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad TupleLoad Str Str keyword Num keyword AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad keyword Num keyword AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Dict keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Dict Str ListLoad Dict Str Str NameLoad SubscriptLoad NameLoad Slice Num Dict Str Str NameLoad SubscriptLoad NameLoad Slice Num keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword ListLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Dict Str ListLoad Dict Str Str Str NameLoad NameLoad NameLoad Dict Str Str NameLoad NameLoad Dict Str NameLoad keyword AttributeLoad NameLoad attr Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore SubscriptLoad NameLoad Index Str comprehension NameStore Call AttributeLoad NameLoad attr Str ListLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Str ListLoad Str ListLoad Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Str Str Str Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Dict Str Str Dict Str Str AttributeLoad NameLoad attr NameLoad Dict Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad ListLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Dict Str ListLoad Dict Str Str NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str ListLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Assign NameStore Dict Str Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Dict Str Str Str Str AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Assign NameStore Dict Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str ListLoad Dict Str Str Str Str AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Assign NameStore Dict Str Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ListLoad Dict Str Str Str Str NameLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str ListLoad Dict Str Str Str Str Str AttributeLoad NameLoad attr BinOpMult Str Num BinOpMult Str Num BinOpMult Str Num ListComp Dict Str Str BinOpMod Str BinOpMult Str Num BinOpMult Str Num comprehension NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Dict keyword NameLoad decorator_list decorator_list
N/A N/A Test old and new message formats.

This module contains tests that cover various versioning scenarios:

  1. Tests of older message formats that clients may still be using,
     in order to make sure that we still accept them.

  2. Tests to make sure we do not allow methods to be invoked using
     a version that does not support them.

  3. Tests of older DB formats that exist until DB upgrade occurs.

 N/A __author__ andy@emailscrubbed.com (Andy Kimball) N/A json N/A time viewfinder.backend.base.message Message viewfinder.backend.db.activity Activity viewfinder.backend.db.comment Comment viewfinder.backend.db.contact Contact viewfinder.backend.db.episode Episode viewfinder.backend.db.identity Identity viewfinder.backend.db.photo Photo viewfinder.backend.db.post Post viewfinder.backend.db.user User viewfinder.backend.db.user_post UserPost viewfinder.backend.www.test auth_test service_base_test VersioningTestCase 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 VersioningTestCase self setUp N/A N/A self _validate False N/A testInlineInvalidationsMigration N/A N/A self N/A N/A N/A Ensure that the INLINE_INVALIDATIONS migration works correctly. N/A episode_id N/A N/A Episode ConstructEpisodeId 1 N/A N/A self _device_ids N/A 0 1 N/A photo_id N/A N/A Photo ConstructPhotoId 1 N/A N/A self _device_ids N/A 0 1 N/A request N/A activity episode photos N/A N/A N/A self _tester CreateActivityDict N/A self _cookie N/A episode_id timestamp episode_id 1 N/A N/A N/A self _CreatePhotoDict N/A self _cookie photo_id photo_id N/A N/A N/A self _SendRequest upload_episode N/A self _cookie request version N/A Message EXTRACT_MD5_HASHES N/A request N/A episodes N/A N/A episode_id photo_ids episode_id N/A photo_id N/A N/A N/A self _SendRequest remove_photos N/A self _cookie request version N/A Message EXTRACT_MD5_HASHES N/A request N/A activity viewpoint_id viewed_seq N/A N/A N/A self _tester CreateActivityDict N/A self _cookie N/A N/A self _user private_vp_id 2 N/A N/A N/A self _SendRequest update_viewpoint N/A self _cookie request version N/A Message EXTRACT_MD5_HASHES N/A response N/A N/A self _SendRequest query_notifications N/A self _cookie N/A version N/A Message EXTRACT_MD5_HASHES N/A notify_dict N/A N/A response N/A notifications N/A 1 N/A N/A N/A self assertFalse N/A inline notify_dict N/A N/A N/A self assertTrue N/A activity notify_dict N/A N/A N/A self assertEqual N/A N/A notify_dict N/A activity N/A update_seq 1 N/A notify_dict N/A N/A response N/A notifications N/A 2 N/A N/A N/A self assertFalse N/A inline notify_dict N/A N/A N/A self assertFalse N/A activity notify_dict N/A notify_dict N/A N/A response N/A notifications N/A 3 N/A N/A N/A self assertFalse N/A inline notify_dict N/A N/A N/A self assertFalse N/A activity notify_dict N/A testFileSizeExtraction N/A N/A self N/A N/A N/A Ensure that the EXTRACT_FILE_SIZES migration works correctly. N/A episode_id N/A N/A Episode ConstructEpisodeId 1 N/A N/A self _device_ids N/A 0 1 N/A photo_id N/A N/A Photo ConstructPhotoId 1 N/A N/A self _device_ids N/A 0 1 N/A request N/A activity episode photos N/A N/A N/A self _tester CreateActivityDict N/A self _cookie N/A episode_id timestamp episode_id 1 N/A N/A N/A self _CreatePhotoDict N/A self _cookie photo_id photo_id client_data N/A tn_size med_size full_size orig_size 5 40 150 1200 N/A photo N/A N/A request N/A photos N/A 0 N/A N/A photo N/A tn_size N/A N/A photo N/A med_size N/A N/A photo N/A full_size N/A N/A photo N/A orig_size N/A N/A N/A self _SendRequest upload_episode N/A self _cookie request version N/A Message INLINE_INVALIDATIONS N/A testInlineCommentsMigration N/A N/A self N/A N/A N/A Ensure that the INLINE_COMMENTS migration works correctly. N/A comment_id N/A N/A N/A self _tester PostComment N/A self _cookie N/A N/A self _user private_vp_id hi N/A response_dict N/A N/A self _SendRequest query_notifications N/A self _cookie N/A scan_forward False version N/A Message EXTRACT_FILE_SIZES N/A notify_dict N/A N/A response_dict N/A notifications N/A 0 N/A invalidate N/A notify_dict N/A invalidate N/A N/A N/A self assertEqual N/A notify_dict N/A name post_comment N/A N/A timestamp device_id uniquifier N/A N/A Comment DeconstructCommentId comment_id N/A start_key N/A N/A Comment ConstructCommentId timestamp 0 0 N/A N/A N/A self assertEqual invalidate N/A viewpoints N/A N/A viewpoint_id get_comments comment_start_key N/A N/A self _user private_vp_id True start_key N/A testSplitNamesMigration N/A N/A self N/A N/A N/A Ensure that the SPLIT_NAMES migration works correctly. N/A N/A N/A self _SendRequest update_user N/A self _cookie N/A name  	
Andrew   E 	Kimball  version N/A Message INLINE_COMMENTS N/A user N/A N/A self _RunAsync N/A User Query N/A self _client N/A N/A self _user user_id None N/A N/A N/A self assertEqual N/A user name  	
Andrew   E 	Kimball  N/A N/A N/A self assertEqual N/A user given_name Andrew N/A N/A N/A self assertEqual N/A user family_name E 	Kimball  N/A N/A N/A self _SendRequest update_user N/A self _cookie N/A name Andy version N/A Message INLINE_COMMENTS N/A user N/A N/A self _RunAsync N/A User Query N/A self _client N/A N/A self _user user_id None N/A N/A N/A self assertEqual N/A user name Andy N/A N/A N/A self assertEqual N/A user given_name Andy N/A N/A N/A self assertIsNone N/A user family_name N/A testExplicitShareOrderMigration N/A N/A self N/A N/A N/A Ensure that the EXPLICIT_SHARE_ORDER migration works correctly.
    The expectation is that the migration orders the episode ids and photo ids to the
    original mobile client algorithm for cover photo selection.
     _IsEpDictOrderedAsOriginalAlgorithm N/A N/A ep_dicts episode_id_key N/A N/A N/A Returns true if the order matches original mobile client algorithm ordering for
      cover photo selection. N/A last_episode_id None N/A ep_dict ep_dicts N/A N/A N/A N/A last_episode_id None N/A N/A ep_dict N/A episode_id_key last_episode_id N/A N/A False N/A last_episode_id N/A ep_dict N/A episode_id_key N/A last_photo_id None N/A photo_id N/A ep_dict N/A photo_ids N/A N/A N/A N/A last_photo_id None N/A photo_id last_photo_id N/A N/A False N/A last_photo_id photo_id N/A True N/A _ConstructEpDict N/A N/A N/A N/A N/A Create some ep_dicts for sharing. N/A N/A episode_id1 photo_ids1 N/A N/A self _UploadOneEpisode N/A self _cookie 2 N/A N/A episode_id2 photo_ids2 N/A N/A self _UploadOneEpisode N/A self _cookie 2 N/A ep_dicts N/A N/A N/A self _tester _CreateCopyDictList N/A self _cookie N/A N/A episode_id1 photo_ids1 N/A episode_id2 photo_ids2 N/A ep_dicts N/A sorted ep_dicts key N/A N/A N/A e N/A N/A e N/A new_episode_id N/A episode ep_dicts N/A N/A N/A episode N/A photo_ids N/A sorted N/A episode N/A photo_ids reverse True N/A N/A N/A self assertFalse N/A _IsEpDictOrderedAsOriginalAlgorithm ep_dicts new_episode_id Should not be correctly ordered at this point N/A ep_dicts N/A N/A ep_dicts1 N/A _ConstructEpDict N/A ep_dicts2 N/A _ConstructEpDict N/A request_dict N/A activity viewpoint episodes contacts N/A N/A N/A self _tester CreateActivityDict N/A self _cookie N/A N/A self _CreateViewpointDict N/A self _cookie ep_dicts1 N/A N/A N/A self _tester CreateContactDicts N/A N/A N/A self _user2 user_id N/A N/A self _user3 user_id N/A N/A N/A self _SendRequest share_new N/A self _cookie request_dict version N/A Message INLINE_COMMENTS N/A request_dict N/A activity viewpoint_id episodes N/A N/A N/A self _tester CreateActivityDict N/A self _cookie N/A N/A request_dict N/A viewpoint N/A viewpoint_id ep_dicts2 N/A N/A N/A self _SendRequest share_existing N/A self _cookie request_dict version N/A Message INLINE_COMMENTS N/A activities N/A N/A self _RunAsync N/A Activity RangeQuery N/A self _client N/A request_dict N/A viewpoint_id range_desc None limit 50 col_names None scan_forward False N/A activity activities N/A N/A args_dict N/A N/A json loads N/A activity json N/A N/A N/A self assertTrue N/A _IsEpDictOrderedAsOriginalAlgorithm N/A args_dict N/A episodes episode_id Should be correctly ordered at this point N/A testSuppressBlankCoverPhotoMigration N/A N/A self N/A N/A N/A Ensure that the SUPPRESS_BLANK_COVER_PHOTO migration works correctly. N/A N/A episode_id1 photo_ids1 N/A N/A self _UploadOneEpisode N/A self _cookie 2 N/A ep_dicts N/A N/A N/A self _tester _CreateCopyDictList N/A self _cookie N/A N/A episode_id1 photo_ids1 N/A update_vp_dict N/A cover_photo N/A episode_id photo_id episode_id1 N/A request_dict N/A activity viewpoint episodes contacts N/A N/A N/A self _tester CreateActivityDict N/A self _cookie N/A N/A self _CreateViewpointDict N/A self _cookie update_vp_dict ep_dicts N/A N/A N/A self _tester CreateContactDicts N/A N/A N/A self _user2 user_id N/A N/A N/A self _SendRequest share_new N/A self _cookie request_dict version N/A Message EXPLICIT_SHARE_ORDER N/A testSupportMultipleIdentitiesPerContact N/A N/A self N/A N/A N/A Ensure that the SUPPORT_MULTIPLE_IDENTITIES_PER_CONTACT migration works correctly. N/A identity_key N/A Email: N/A N/A self _user2 email N/A N/A N/A self _UpdateOrAllocateDBObject Identity key identity_key user_id 21 N/A contact_dict N/A N/A Contact CreateContactDict user_id N/A N/A self _user user_id identities_properties N/A N/A identity_key work N/A N/A Email: N/A N/A self _user3 email home N/A Phone:+13191234567 mobile timestamp 1 contact_source N/A Contact GMAIL name Mike Purtell given_name Mike family_name Purtell rank 3 N/A N/A N/A self _UpdateOrAllocateDBObject Contact contact_dict N/A contact_dict N/A N/A Contact CreateContactDict user_id N/A N/A self _user user_id identities_properties None timestamp 1 contact_source N/A Contact GMAIL contact_id gm:onetwothree sort_key N/A N/A Contact CreateSortKey gm:onetwothree 1 labels N/A N/A Contact REMOVED N/A N/A N/A self _UpdateOrAllocateDBObject Contact contact_dict N/A contact_dict N/A N/A Contact CreateContactDict user_id N/A N/A self _user user_id identities_properties N/A N/A Email:someone@somewhere.com work N/A Email:somebody@somewhere.com home N/A Phone:+13191234567 mobile timestamp 1 contact_source N/A Contact GMAIL name Some One given_name Some family_name Body rank 5 N/A N/A N/A self _UpdateOrAllocateDBObject Contact contact_dict N/A contact_dict N/A N/A Contact CreateContactDict user_id N/A N/A self _user user_id identities_properties N/A N/A Phone:+13191234567 mobile timestamp 1 contact_source N/A Contact GMAIL name Some One with just a phone given_name Some family_name Body rank 42 N/A N/A N/A self _UpdateOrAllocateDBObject Contact contact_dict N/A contact_dict N/A N/A Contact CreateContactDict user_id N/A N/A self _user user_id identities_properties N/A timestamp 1 contact_source N/A Contact GMAIL name Some One with just a phone given_name Some family_name Body rank 42 N/A N/A N/A self _UpdateOrAllocateDBObject Contact contact_dict N/A response N/A N/A self _SendRequest query_contacts N/A self _cookie N/A version N/A Message SUPPRESS_BLANK_COVER_PHOTO N/A N/A N/A self assertEqual N/A response N/A headers N/A version N/A Message SUPPRESS_BLANK_COVER_PHOTO N/A N/A N/A self assertEqual N/A response N/A num_contacts 2 N/A response_contact N/A N/A response N/A contacts N/A 1 N/A N/A N/A self assertEqual N/A response_contact N/A name Mike Purtell N/A N/A N/A self assertEqual N/A response_contact N/A given_name Mike N/A N/A N/A self assertEqual N/A response_contact N/A family_name Purtell N/A N/A N/A self assertEqual N/A response_contact N/A rank 3 N/A N/A N/A self assertEqual N/A response_contact N/A contact_user_id 21 N/A N/A N/A self assertEqual N/A response_contact N/A identity identity_key N/A N/A N/A self assertFalse N/A identities response_contact N/A N/A N/A self assertFalse N/A contact_id response_contact N/A N/A N/A self assertFalse N/A contact_source response_contact N/A N/A N/A self assertFalse N/A labels response_contact N/A response_contact N/A N/A response N/A contacts N/A 0 N/A N/A N/A self assertEqual N/A response_contact N/A name Some One N/A N/A N/A self assertEqual N/A response_contact N/A given_name Some N/A N/A N/A self assertEqual N/A response_contact N/A family_name Body N/A N/A N/A self assertEqual N/A response_contact N/A rank 5 N/A N/A N/A self assertEqual N/A response_contact N/A identity Email:someone@somewhere.com N/A N/A N/A self assertFalse N/A contact_user_id response_contact N/A N/A N/A self assertFalse N/A identities response_contact N/A N/A N/A self assertFalse N/A contact_id response_contact N/A N/A N/A self assertFalse N/A contact_source response_contact N/A N/A N/A self assertFalse N/A labels response_contact N/A testRenamePhotoLabelMigration N/A N/A self N/A N/A N/A Test migrator that renames HIDDEN label to REMOVED for older clients. N/A N/A ep_id ph_ids N/A N/A self _UploadOneEpisode N/A self _cookie 2 N/A response_dict N/A N/A self _SendRequest remove_photos N/A self _cookie N/A episodes N/A N/A episode_id photo_ids ep_id N/A ph_ids N/A 1 N/A episode_id photo_ids ep_id N/A ph_ids N/A 1 version N/A Message SUPPORT_MULTIPLE_IDENTITIES_PER_CONTACT N/A post_id N/A N/A Post ConstructPostId ep_id N/A ph_ids N/A 0 N/A N/A N/A self _UpdateOrAllocateDBObject UserPost user_id N/A N/A self _user user_id post_id post_id labels N/A N/A UserPost HIDDEN N/A response_dict N/A N/A self _SendRequest query_episodes N/A self _cookie N/A episodes N/A N/A episode_id get_attributes get_photos ep_id True True N/A episode_id get_photos ep_id True N/A episode_id ep_id version N/A Message SUPPORT_MULTIPLE_IDENTITIES_PER_CONTACT N/A labels N/A N/A ph_dict N/A labels N/A ep_dict N/A response_dict N/A episodes N/A ph_dict N/A N/A ep_dict get photos N/A N/A N/A N/A self assertEqual labels N/A N/A removed N/A removed N/A removed N/A removed N/A testSuppressAuthNameMigration N/A N/A self N/A N/A N/A Test migrator that removes names from non-register auth messages. N/A user_dict N/A name given_name family_name email Andy Kimball Andy Kimball andy@emailscrubbed.com N/A N/A user device_id N/A N/A N/A self _tester RegisterViewfinderUser user_dict None N/A user_cookie N/A N/A self _GetSecureUserCookie user device_id N/A url N/A N/A N/A self _tester GetUrl /link/viewfinder N/A request_dict N/A headers auth_info N/A version synchronous N/A Message RENAME_PHOTO_LABEL True N/A identity name given_name family_name Email:andy@emailscrubbed.com Andy Kimball Andy Kimball N/A response N/A N/A auth_test _SendAuthRequest N/A self _tester url POST user_cookie user_cookie request_dict request_dict N/A N/A N/A self assertEqual N/A response code 200 N/A testSupportRemovedFollowers N/A N/A self N/A N/A N/A Test migrator that projects only ids from followers returned by query_viewpoints. N/A N/A N/A self _CreateSimpleTestAssets N/A N/A vp_id _ N/A N/A self _ShareSimpleTestAssets 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 RemoveFollowers N/A self _cookie vp_id N/A N/A N/A self _user3 user_id N/A response_dict N/A N/A self _SendRequest query_viewpoints N/A self _cookie N/A viewpoints N/A N/A viewpoint_id get_followers vp_id True version N/A Message SEND_EMAIL_TOKEN N/A N/A N/A self assertEqual N/A N/A N/A response_dict N/A viewpoints N/A 0 N/A followers N/A 1 2 3 N/A testSuppressCopyTimestamp N/A N/A self N/A N/A N/A Test migrator that removes timestamp from share and save operations. N/A N/A N/A self _CreateSimpleTestAssets N/A new_episode_id N/A N/A Episode ConstructEpisodeId N/A N/A time time N/A N/A self _device_ids N/A 0 N/A self _test_id N/A N/A self _test_id 1 N/A request_dict N/A activity viewpoint episodes contacts N/A N/A N/A self _tester CreateActivityDict N/A self _cookie N/A N/A self _CreateViewpointDict N/A self _cookie N/A N/A existing_episode_id new_episode_id timestamp photo_ids N/A self _episode_id new_episode_id N/A N/A time time N/A self _photo_ids N/A N/A N/A self _tester CreateContactDicts N/A N/A N/A self _user2 user_id N/A N/A N/A self _SendRequest share_new N/A self _cookie request_dict version N/A Message SUPPORT_REMOVED_FOLLOWERS N/A new_episode_id2 N/A N/A Episode ConstructEpisodeId N/A N/A time time N/A N/A self _device_ids N/A 0 N/A self _test_id N/A N/A self _test_id 1 N/A request_dict N/A activity viewpoint_id episodes N/A N/A N/A self _tester CreateActivityDict N/A self _cookie N/A N/A request_dict N/A viewpoint N/A viewpoint_id N/A N/A existing_episode_id new_episode_id timestamp photo_ids N/A self _episode_id2 new_episode_id2 N/A N/A time time N/A self _photo_ids2 N/A N/A N/A self _SendRequest share_existing N/A self _cookie request_dict version N/A Message SUPPORT_REMOVED_FOLLOWERS N/A save_episode_id N/A N/A Episode ConstructEpisodeId N/A N/A time time N/A N/A self _device_ids N/A 1 N/A self _test_id N/A N/A self _test_id 1 N/A request_dict N/A activity episodes N/A N/A N/A self _tester CreateActivityDict N/A self _cookie2 N/A N/A existing_episode_id new_episode_id timestamp photo_ids new_episode_id save_episode_id N/A N/A time time N/A self _photo_ids N/A N/A N/A self _SendRequest save_photos N/A self _cookie2 request_dict version N/A Message SUPPORT_REMOVED_FOLLOWERS N/A testSupportContactLimits N/A N/A self N/A N/A N/A Test migrator that truncates and skips fields in upload_contacts. N/A request_dict N/A contacts N/A N/A contact_source name given_name family_name identities N/A Contact MANUAL N/A a 1001 N/A a 2000 N/A a 6000 N/A N/A identity description N/A Email:%s N/A a 1001 N/A a 1001 N/A i N/A xrange 100 N/A N/A N/A self _SendRequest upload_contacts N/A self _cookie request_dict version N/A Message SUPPRESS_COPY_TIMESTAMP N/A testSuppressEmptyTitle N/A N/A self N/A N/A N/A Test migrator that removes empty titles from update_viewpoint operations. N/A N/A N/A self _CreateSimpleTestAssets N/A N/A vp_id ep_id N/A N/A self _ShareSimpleTestAssets N/A N/A N/A self _user2 user_id N/A request_dict N/A activity viewpoint_id title N/A N/A N/A self _tester CreateActivityDict N/A self _cookie vp_id N/A N/A N/A self _SendRequest update_viewpoint N/A self _cookie request_dict version N/A Message SUPPORT_CONTACT_LIMITS N/A _TestMethodNotSupported N/A N/A self method version N/A N/A N/A Test that "method" is not supported in the specified "version" of the
    message protocol.
     N/A N/A N/A self assertRaisesHttpError 400 N/A self _SendRequest method N/A self _cookie N/A version version N/A N/A