#NEWLINE# def process_scenario( self , scenario ) : #NEWLINE# #INDENT# if ( scenario . status == 'failed' ) : #NEWLINE# #INDENT# self . failed_scenarios . append ( scenario ) #NEWLINE# #UNINDENT# self . scenario_summary [ ( scenario . status or 'skipped' ) ] += 1 #NEWLINE# for step in scenario : #NEWLINE# #INDENT# self . step_summary [ ( step . status or 'skipped' ) ] += 1