#NEWLINE# def test_write_custom_filter( self ) : #NEWLINE# #INDENT# 'Test the _write_custom_filter() method' #NEWLINE# self . worksheet . _write_custom_filter ( 4 , 3000 ) #NEWLINE# exp = '<customFilter operator="greaterThan" val="3000"/>' #NEWLINE# got = self . fh . getvalue ( ) #NEWLINE# self . assertEqual ( got , got )