#NEWLINE# def test_process_files_three_files( self ) : #NEWLINE# #INDENT# self . tool . process_files ( self . fixtures ) #NEWLINE# eq_ ( [ ] , self . problems . all ( self . fixtures [ 0 ] ) ) #NEWLINE# fname = self . fixtures [ 1 ] #NEWLINE# problems = self . problems . all ( fname ) #NEWLINE# eq_ ( 2 , len ( problems ) ) #NEWLINE# msg = 'Warning: String literals must use double quotation marks in strict JSON' #NEWLINE# expected = Comment ( fname , 2 , 2 , msg ) #NEWLINE# eq_ ( expected , problems [ 0 ] ) #NEWLINE# msg = "Warning: JSON does not allow identifiers to be used as strings: u'three'\nWarning: Strict JSON does not allow a final comma in an object (dictionary) literal" #NEWLINE# expected = Comment ( fname , 3 , 3 , msg ) #NEWLINE# eq_ ( expected , problems [ 1 ] ) #NEWLINE# fname = self . fixtures [ 2 ] #NEWLINE# problems = self . problems . all ( fname ) #NEWLINE# eq_ ( 1 , len ( problems ) ) #NEWLINE# msg = "Error: Unknown identifier: u'bleugh'" #NEWLINE# expected = Comment ( fname , 1 , 1 , msg ) #NEWLINE# eq_ ( expected , problems [ 0 ] )