#NEWLINE# @ validation . required_services ( consts . Service . HEAT ) #NEWLINE# @ validation . required_openstack ( users = True ) #NEWLINE# @ scenario . configure ( ) #NEWLINE# def list_stacks_and_events( self ) : #NEWLINE# #INDENT# 'List events from tenant stacks.' #NEWLINE# stacks = self . _list_stacks ( ) #NEWLINE# with atomic . ActionTimer ( stacks , ( 'heat.list_events_of_%s_stacks' % len ( stacks ) ) ) : #NEWLINE# #INDENT# for stack in stacks : #NEWLINE# #INDENT# self . clients ( 'heat' ) . events . list ( stack . id )