#NEWLINE# def test_write_colors3( self ) : #NEWLINE# #INDENT# 'Test the _write_colors() method' #NEWLINE# self . styles . custom_colors = [ 'FF792DC8' , 'FF646462' , 'FF5EA29C' , 'FF583AC6' , 'FFE31DAF' , 'FFA1A759' , 'FF600FF1' , 'FF0CF49C' , 'FFE3FA06' , 'FF913AC6' , 'FFB97847' , 'FFD97827' ] #NEWLINE# self . styles . _write_colors ( ) #NEWLINE# exp = '<colors><mruColors><color rgb="FFD97827"/><color rgb="FFB97847"/><color rgb="FF913AC6"/><color rgb="FFE3FA06"/><color rgb="FF0CF49C"/><color rgb="FF600FF1"/><color rgb="FFA1A759"/><color rgb="FFE31DAF"/><color rgb="FF583AC6"/><color rgb="FF5EA29C"/></mruColors></colors>' #NEWLINE# got = self . fh . getvalue ( ) #NEWLINE# self . assertEqual ( got , self )