#NEWLINE# def test_statistic_list( self ) : #NEWLINE# #INDENT# statistics = self . statistics . list ( ) #NEWLINE# meter_name = 'meter_name' #NEWLINE# ceilometerclient = self . stub_ceilometerclient ( ) #NEWLINE# ceilometerclient . statistics = self . mox . CreateMockAnything ( ) #NEWLINE# ceilometerclient . statistics . list ( meter_name = meter_name , period = None , q = [ ] ) . AndReturn ( statistics ) #NEWLINE# self . mox . ReplayAll ( ) #NEWLINE# ret_list = api . ceilometer . statistic_list ( self . request , meter_name , period = None , query = [ ] ) #NEWLINE# for s in ret_list : #NEWLINE# #INDENT# self . assertIsInstance ( s , api . ceilometer . Statistic )