#NEWLINE# def assertCSV( self , query , csv_lines , **kwargs ) : #NEWLINE# #INDENT# buf = StringIO ( ) #NEWLINE# kwargs [ 'close_file' ] = False #NEWLINE# final_buf = dump_csv ( query , buf , ** kwargs ) #NEWLINE# self . assertEqual ( final_buf . getvalue ( ) . splitlines ( ) , csv_lines )