#NEWLINE# def test_write_colors1( self ) : #NEWLINE# #INDENT# 'Test the _write_colors() method' #NEWLINE# self . styles . custom_colors = [ 'FF26DA55' ] #NEWLINE# self . styles . _write_colors ( ) #NEWLINE# exp = '<colors><mruColors><color rgb="FF26DA55"/></mruColors></colors>' #NEWLINE# got = self . fh . getvalue ( ) #NEWLINE# self . assertEqual ( got , exp )