'Test the creation of a simple XlsxWriter file with hyperlinks.'

def test_create_file(self):

    workbook = Workbook(self.got_filename)
    workbook.default_url_format = None
    worksheet1 = workbook.add_worksheet()
    worksheet2 = workbook.add_worksheet()
    worksheet3 = workbook.add_worksheet('Data    Sheet')
    worksheet1.write_url('A1', 'internal:Sheet2!A1')
    worksheet1.write_url('A3', 'internal:Sheet2!A1:A5')
    worksheet1.write_url('A5', "internal:'Data    Sheet'!D5", None, 'Some    text')
    worksheet1.write_url('E12', 'internal:Sheet1!J1')
    worksheet1.write_url('G17', 'internal:Sheet2!A1', None, 'Some    text')
    worksheet1.write_url('A18', 'internal:Sheet2!A1', None, None, 'Tool    Tip    1')
    worksheet1.write_url('A20', 'internal:Sheet2!A1', None, 'More    text', 'Tool    Tip    2')
    workbook.close()
    self.assertExcelEqual()
