#NEWLINE# def test_standalone_fail_fast_true( self ) : #NEWLINE# #INDENT# filepath = os . path . join ( self . data_dir , 'fail_fast_two_structure_errors.csv' ) #NEWLINE# with io . open ( filepath ) as stream : #NEWLINE# #INDENT# validator = processors . StructureProcessor ( fail_fast = True ) #NEWLINE# ( result , report , data ) = validator . run ( data ) #NEWLINE# self . assertEqual ( len ( report . generate ( ) [ 'results' ] ) , 1 )