<s> from . . excel_comparsion_test import ExcelComparisonTest <EOL> from ... workbook import Workbook <EOL> class TestCompareXLSXFiles ( ExcelComparisonTest ) : <EOL> """<STR_LIT>""" <EOL> def setUp ( self ) : <EOL> self . maxDiff = None <EOL> filename = '<STR_LIT>' <EOL> test_dir = '<STR_LIT>' <EOL> self . got_filename = test_dir + '<STR_LIT>' + filename <EOL> self . exp_filename = test_dir + '<STR_LIT>' + filename <EOL> self . ignore_files = [ ] <EOL> self . ignore_elements = { } <EOL> def test_write_number_as_text ( self ) : <EOL> """<STR_LIT>""" <EOL> workbook = Workbook ( self . got_filename ) <EOL> worksheet = workbook . add_worksheet ( ) <EOL> worksheet . write_string ( <NUM_LIT:0> , <NUM_LIT:0> , '<STR_LIT>' ) <EOL> worksheet . write_string ( <NUM_LIT:1> , <NUM_LIT:0> , '<STR_LIT>' ) <EOL> workbook . close ( ) <EOL> self . assertExcelEqual ( ) <EOL> def test_write_number_as_text_with_write ( self ) : <EOL> """<STR_LIT>""" <EOL> workbook = Workbook ( self . got_filename , { '<STR_LIT>' : False } ) <EOL> worksheet = workbook . add_worksheet ( ) <EOL> worksheet . write ( <NUM_LIT:0> , <NUM_LIT:0> , '<STR_LIT>' ) <EOL> worksheet . write ( <NUM_LIT:1> , <NUM_LIT:0> , '<STR_LIT>' ) <EOL> workbook . close ( ) <EOL> self . assertExcelEqual ( ) </s>
