'Test the creation of an XlsxWriter file with utf-8 strings.'

def test_create_file(self):

    workbook = Workbook(self.got_filename)
    worksheet = workbook.add_worksheet()
    bold = workbook.add_format({u'bold': 1})
    italic = workbook.add_format({u'italic': 1})
    worksheet.write(u'A1', u'Foo', bold)
    worksheet.write(u'A2', u'Bar', italic)
    worksheet.write_rich_string(u'A3', u'Caf', bold, u'\xe9')
    workbook.close()
    self.assertExcelEqual()
