'Test the _write_font() method. Colour = red.'

def test_write_font_12(self):

    properties = {'color': '#FF0000'}
    xf_format = Format(properties)
    self.styles._write_font(xf_format)
    exp = '<font><sz    val="11"/><color    rgb="FFFF0000"/><name    val="Calibri"/><family    val="2"/><scheme    val="minor"/></font>'
    got = self.fh.getvalue()
    self.assertEqual(got, exp)
