#NEWLINE# def test_run_should_pass_when_all_examples_pass( self ) : #NEWLINE# #INDENT# outline = ScenarioOutline ( 'foo.feature' , 17 , 'Scenario Outline' , 'foo' ) #NEWLINE# outline . _scenarios = [ Mock ( ) , Mock ( ) , Mock ( ) ] #NEWLINE# for scenario in outline . _scenarios : #NEWLINE# #INDENT# scenario . run . return_value = False #NEWLINE# #UNINDENT# runner = Mock ( ) #NEWLINE# context = runner . context = Mock ( ) #NEWLINE# config = runner . config = Mock ( ) #NEWLINE# config . stop = True #NEWLINE# resultFailed = outline . run ( config ) #NEWLINE# eq_ ( resultFailed , False )