#NEWLINE# def test_create_file( self ) : #NEWLINE# #INDENT# 'Test the center across format.' #NEWLINE# workbook = Workbook ( self . got_filename ) #NEWLINE# worksheet = workbook . add_worksheet ( ) #NEWLINE# center = workbook . add_format ( ) #NEWLINE# center . set_center_across ( ) #NEWLINE# worksheet . write ( 'A1' , 'foo' , center ) #NEWLINE# workbook . close ( ) #NEWLINE# self . assertExcelEqual ( )