#NEWLINE# def compare_item( self , item_rsp , group ) : #NEWLINE# #INDENT# self . assertEqual ( item_rsp [ 'id' ] , group . pk ) #NEWLINE# self . assertEqual ( item_rsp [ 'name' ] , group . name ) #NEWLINE# self . assertEqual ( item_rsp [ 'display_name' ] , group . display_name ) #NEWLINE# self . assertEqual ( item_rsp [ 'mailing_list' ] , group . mailing_list ) #NEWLINE# self . assertEqual ( item_rsp [ 'visible' ] , group . visible ) #NEWLINE# self . assertEqual ( item_rsp [ 'invite_only' ] , group . invite_only ) #NEWLINE# self . assertEqual ( item_rsp [ 'extra_data' ] , group . extra_data ) #NEWLINE# self . assertEqual ( item_rsp [ 'absolute_url' ] , ( self . base_url + group . get_absolute_url ( ) ) )