#NEWLINE# def test_create_file( self ) : #NEWLINE# #INDENT# 'Test the creation of a simple XlsxWriter file with image(s).' #NEWLINE# workbook = Workbook ( self . got_filename ) #NEWLINE# worksheet = workbook . add_worksheet ( ) #NEWLINE# worksheet . set_header ( '&L&G&C&G&R&G' , { #NEWLINE# #INDENT# 'image_left' : ( self . image_dir + 'red.jpg' ) , #NEWLINE# 'image_center' : ( self . image_dir + 'blue.jpg' ) , #NEWLINE# 'image_right' : ( self . image_dir + 'yellow.jpg' ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# workbook . close ( ) #NEWLINE# self . assertExcelEqual ( )