<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_create_file ( self ) : <EOL> """<STR_LIT>""" <EOL> workbook = Workbook ( self . got_filename ) <EOL> worksheet = workbook . add_worksheet ( ) <EOL> format1 = workbook . add_format ( { <EOL> '<STR_LIT>' : <NUM_LIT:15> , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' <EOL> } ) <EOL> worksheet . write ( '<STR_LIT>' , <NUM_LIT:10> ) <EOL> worksheet . write ( '<STR_LIT>' , <NUM_LIT:20> ) <EOL> worksheet . write ( '<STR_LIT>' , <NUM_LIT:30> ) <EOL> worksheet . write ( '<STR_LIT>' , <NUM_LIT> ) <EOL> worksheet . conditional_format ( '<STR_LIT>' , <EOL> { '<STR_LIT:type>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : format1 , <EOL> '<STR_LIT>' : '<STR_LIT:>>' , <EOL> '<STR_LIT:value>' : <NUM_LIT:7> , <EOL> } ) <EOL> workbook . close ( ) <EOL> self . assertExcelEqual ( ) </s>
