'Test a vertical and horizontal centered format.'

def test_create_file(self):

    workbook = Workbook(self.got_filename)
    worksheet = workbook.add_worksheet()
    centered = workbook.add_format({'align': 'center', 'valign': 'vcenter'})
    worksheet.write('B2', 'Foo', centered)
    workbook.close()
    self.assertExcelEqual()
