#NEWLINE# def test_run_runs_scenarios( self ) : #NEWLINE# #INDENT# scenarios = [ Mock ( ) , Mock ( ) ] #NEWLINE# for scenario in scenarios : #NEWLINE# #INDENT# scenario . tags = [ ] #NEWLINE# scenario . run . return_value = False #NEWLINE# #UNINDENT# self . config . tags . check . return_value = True #NEWLINE# self . config . name = [ ] #NEWLINE# feature = Feature ( 'foo.feature' , 1 , 'Feature' , 'foo' , scenarios = scenarios ) #NEWLINE# feature . run ( self . runner ) #NEWLINE# for scenario in scenarios : #NEWLINE# #INDENT# scenario . run . assert_called_with ( self . runner )