#NEWLINE# def test_write_filter_column( self ) : #NEWLINE# #INDENT# 'Test the _write_filter_column() method' #NEWLINE# self . worksheet . _write_filter_column ( 0 , 1 , [ 'East' ] ) #NEWLINE# exp = '<filterColumn colId="0"><filters><filter val="East"/></filters></filterColumn>' #NEWLINE# got = self . fh . getvalue ( ) #NEWLINE# self . assertEqual ( got , exp )