#NEWLINE# def testRemoveFollower( self ) : #NEWLINE# #INDENT# 'Remove single follower from viewpoint.' #NEWLINE# self . _tester . RemoveFollowers ( self . _cookie , self . _vp_id , [ self . _user2 . user_id ] ) #NEWLINE# response_dict = self . _tester . QueryFollowed ( self . _cookie2 ) #NEWLINE# vp_dict = util . GetSingleListItem ( [ vp_dict for vp_dict in response_dict [ 'viewpoints' ] if ( vp_dict [ 'viewpoint_id' ] == self . _vp_id ) ] ) #NEWLINE# self . assertIn ( 'removed' , vp_dict [ 'labels' ] ) #NEWLINE# self . assertIn ( 'unrevivable' , vp_dict [ 'labels' ] ) #NEWLINE# self . _tester . RemoveFollowers ( self . _cookie , self . _vp_id , [ self . _user . user_id ] ) #NEWLINE# response_dict = self . _tester . QueryFollowed ( self . _cookie ) #NEWLINE# vp_dict = util . GetSingleListItem ( [ vp_dict for vp_dict in response_dict [ 'viewpoints' ] if ( vp_dict [ 'viewpoint_id' ] == self . _vp_id ) ] ) #NEWLINE# self . assertIn ( 'removed' , vp_dict [ 'labels' ] ) #NEWLINE# self . assertIn ( 'unrevivable' , vp_dict [ 'labels' ] )