def test_create_file_write(self):

        workbook = Workbook(self.got_filename)

        worksheet = workbook.add_worksheet()
        format = workbook.add_format({'color': 'red', 'underline': 1})

        worksheet.write('A1', 'http://www.perl.org/', format)

        workbook.close()

        self.assertExcelEqual()
Test the creation of a simple XlsxWriter file with hyperlinks. This example has link formatting and uses write()
dataset/ETHPy150Open jmcnamara/XlsxWriter/xlsxwriter/test/comparison/test_hyperlink10.py/TestCompareXLSXFiles.test_create_file_write