

def test_create_file(self):
    'Test the creation of a simple XlsxWriter file with hyperlinks. This example has link formatting.'
    workbook = Workbook(self.got_filename)
    worksheet = workbook.add_worksheet()
    format = workbook.add_format({
        'color': 'red',
        'underline': 1,
    })
    worksheet.write_url('A1', 'http://www.perl.org/', format)
    workbook.close()
    self.assertExcelEqual()

dataset/ETHPy150Open jmcnamara/XlsxWriter/xlsxwriter/test/comparison/test_hyperlink10.py TestCompareXLSXFiles.test_create_file/original