27 lines
667 B
Python
27 lines
667 B
Python
###############################################################################
|
|
#
|
|
# Tests for libxlsxwriter.
|
|
#
|
|
# Copyright 2014-2021, John McNamara, jmcnamara@cpan.org
|
|
#
|
|
|
|
import base_test_class
|
|
|
|
class TestCompareXLSXFiles(base_test_class.XLSXBaseTest):
|
|
"""
|
|
Test file created with libxlsxwriter against a file created by Excel.
|
|
|
|
"""
|
|
|
|
def test_page_view01(self):
|
|
self.run_exe_test('test_page_view01')
|
|
|
|
def test_landscape01(self):
|
|
self.run_exe_test('test_landscape01')
|
|
|
|
def test_print_across01(self):
|
|
self.ignore_elements = {'xl/worksheets/sheet1.xml': ['<pageMargins']}
|
|
|
|
self.run_exe_test('test_print_across01')
|
|
|