#NEWLINE# def test_user_list_long( self ) : #NEWLINE# #INDENT# arglist = [ '--long' ] #NEWLINE# verifylist = [ ( 'long' , True ) ] #NEWLINE# parsed_args = self . check_parser ( self . cmd , datalist , verifylist ) #NEWLINE# ( columns , data ) = self . cmd . take_action ( parsed_args ) #NEWLINE# self . users_mock . list . assert_called_with ( tenant_id = None ) #NEWLINE# collist = ( 'ID' , 'Name' , 'Project' , 'Email' , 'Enabled' ) #NEWLINE# self . assertEqual ( collist , columns ) #NEWLINE# datalist = ( ( identity_fakes . user_id , identity_fakes . user_name , identity_fakes . project_name , identity_fakes . user_email , True ) , ) #NEWLINE# self . assertEqual ( datalist , tuple ( data ) )