'Test the creation of a simple XlsxWriter file with hyperlinks. This example has link formatting.'

def test_hyperlink_formating_implicit(self):

    workbook = Workbook(self.got_filename)
    workbook.custom_colors = ['FF0000FF']
    worksheet = workbook.add_worksheet()
    format1 = None
    format2 = workbook.add_format({'color': 'red', 'underline': 1})
    worksheet.write_url('A1', 'http://www.python.org/1', format1)
    worksheet.write_url('A2', 'http://www.python.org/2', format2)
    workbook.close()
    self.assertExcelEqual()
