#NEWLINE# def test_run_sets_status_to_passed_if_nothing_goes_wrong( self ) : #NEWLINE# #INDENT# step = Step ( 'foo.feature' , 17 , 'Given' , 'given' , 'foo' ) #NEWLINE# step . error_message = None #NEWLINE# self . runner . step_registry . find_match . return_value = Mock ( ) #NEWLINE# step . run ( step . runner ) #NEWLINE# eq_ ( step . status , 'passed' ) #NEWLINE# eq_ ( step . error_message , None )