def test_create_file(self):

        workbook = Workbook(self.got_filename)

        worksheet = workbook.add_worksheet()

        worksheet.insert_image('A1', self.image_dir + 'blue.png')
        worksheet.insert_image(
            'B3', self.image_dir + 'red.jpg', {'positioning': 3})
        worksheet.insert_image(
            'D5', self.image_dir + 'yellow.jpg', {'positioning': 2})
        worksheet.insert_image(
            'F9', self.image_dir + 'grey.png', {'positioning': 1})

        workbook.close()

        self.assertExcelEqual()
Test the creation of a simple XlsxWriter file with image(s).
dataset/ETHPy150Open jmcnamara/XlsxWriter/xlsxwriter/test/comparison/test_image_anchor07.py/TestCompareXLSXFiles.test_create_file