#NEWLINE# def test_flavor_list_long( self ) : #NEWLINE# #INDENT# arglist = [ '--long' ] #NEWLINE# verifylist = [ ( 'long' , True ) ] #NEWLINE# parsed_args = self . check_parser ( self . cmd , arglist , verifylist ) #NEWLINE# ( columns , data ) = self . cmd . take_action ( parsed_args ) #NEWLINE# kwargs = { #NEWLINE# #INDENT# 'is_public' : True , #NEWLINE# 'limit' : None , #NEWLINE# 'marker' : None , #NEWLINE# #UNINDENT# } #NEWLINE# self . flavors_mock . list . assert_called_with ( ** kwargs ) #NEWLINE# self . assertEqual ( self . columns_long , columns ) #NEWLINE# self . assertEqual ( tuple ( self . data_long ) , tuple ( data ) )