libxlsxwriter/test/functional/test_page_breaks.py
2025-02-11 00:03:36 +00:00

42 lines
1.3 KiB
Python

###############################################################################
#
# Tests for libxlsxwriter.
#
# SPDX-License-Identifier: BSD-2-Clause
# Copyright 2014-2025, 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_breaks01(self):
self.ignore_elements = {'xl/worksheets/sheet1.xml': ['<pageMargins']}
self.run_exe_test('test_page_breaks01')
def test_page_breaks02(self):
self.ignore_elements = {'xl/worksheets/sheet1.xml': ['<pageMargins']}
self.run_exe_test('test_page_breaks02')
def test_page_breaks03(self):
self.ignore_elements = {'xl/worksheets/sheet1.xml': ['<pageMargins']}
self.run_exe_test('test_page_breaks03')
def test_page_breaks04(self):
self.ignore_elements = {'xl/worksheets/sheet1.xml': ['<pageMargins']}
self.run_exe_test('test_page_breaks04')
def test_page_breaks05(self):
self.ignore_elements = {'xl/worksheets/sheet1.xml': ['<pageMargins']}
self.run_exe_test('test_page_breaks05')
def test_page_breaks06(self):
self.ignore_elements = {'xl/worksheets/sheet1.xml': ['<pageMargins']}
self.run_exe_test('test_page_breaks06')