#NEWLINE# def test_user_list_group( self ) : #NEWLINE# #INDENT# arglist = [ '--group' , identity_fakes . group_name ] #NEWLINE# verifylist = [ ( 'group' , identity_fakes . group_name ) ] #NEWLINE# parsed_args = self . check_parser ( self . cmd , arglist , verifylist ) #NEWLINE# ( columns , data ) = self . cmd . take_action ( parsed_args ) #NEWLINE# kwargs = { #NEWLINE# #INDENT# 'domain' : None , #NEWLINE# 'group' : identity_fakes . group_id , #NEWLINE# #UNINDENT# } #NEWLINE# self . users_mock . list . assert_called_with ( ** kwargs ) #NEWLINE# self . assertEqual ( self . columns , columns ) #NEWLINE# self . assertEqual ( self . datalist , tuple ( data ) )