#NEWLINE# def test_contributor_summary( self ) : #NEWLINE# #INDENT# albert_id = self . get_user_id_from_email ( self . ALBERT_EMAIL ) #NEWLINE# bob_id = self . get_user_id_from_email ( self . BOB_EMAIL ) #NEWLINE# self . signup ( self . ALBERT_EMAIL , self . ALBERT_NAME ) #NEWLINE# self . signup ( self . BOB_EMAIL , self . BOB_NAME ) #NEWLINE# self . save_new_valid_collection ( self . COLLECTION_ID , albert_id ) #NEWLINE# self . _check_contributors_summary ( self . COLLECTION_ID , { #NEWLINE# #INDENT# albert_id : 1 , #NEWLINE# #UNINDENT# } ) #NEWLINE# changelist_cmds = [ { #NEWLINE# #INDENT# 'cmd' : collection_domain . CMD_EDIT_COLLECTION_PROPERTY , #NEWLINE# 'property_name' : 'title' , #NEWLINE# 'new_value' : 'Collection Bob title' , #NEWLINE# #UNINDENT# } ] #NEWLINE# collection_services . update_collection ( bob_id , self . COLLECTION_ID , changelist_cmds , 'Changed title.' ) #NEWLINE# self . _check_contributors_summary ( self . COLLECTION_ID , { #NEWLINE# #INDENT# albert_id : 1 , #NEWLINE# bob_id : 1 , #NEWLINE# #UNINDENT# } ) #NEWLINE# collection_services . update_collection ( bob_id , self . COLLECTION_ID , changelist_cmds , 'Changed title.' ) #NEWLINE# self . _check_contributors_summary ( self . COLLECTION_ID , { #NEWLINE# #INDENT# albert_id : 1 , #NEWLINE# bob_id : 2 , #NEWLINE# #UNINDENT# } ) #NEWLINE# collection_services . update_collection ( albert_id , self . COLLECTION_ID , changelist_cmds , 'Changed title.' ) #NEWLINE# self . _check_contributors_summary ( self . COLLECTION_ID , { #NEWLINE# #INDENT# albert_id : 2 , #NEWLINE# bob_id : 2 , #NEWLINE# #UNINDENT# } )