初始化PHP-Xlswrite扩展
This commit is contained in:
40
library/libxlsxwriter/test/functional/test_print_options.py
Normal file
40
library/libxlsxwriter/test/functional/test_print_options.py
Normal file
@ -0,0 +1,40 @@
|
||||
###############################################################################
|
||||
#
|
||||
# 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_print_options01(self):
|
||||
self.ignore_elements = {'xl/worksheets/sheet1.xml': ['<pageMargins']}
|
||||
self.run_exe_test('test_print_options01')
|
||||
|
||||
def test_print_options02(self):
|
||||
self.ignore_elements = {'xl/worksheets/sheet1.xml': ['<pageMargins']}
|
||||
self.run_exe_test('test_print_options02')
|
||||
|
||||
def test_print_options03(self):
|
||||
self.ignore_elements = {'xl/worksheets/sheet1.xml': ['<pageMargins']}
|
||||
self.run_exe_test('test_print_options03')
|
||||
|
||||
def test_print_options04(self):
|
||||
self.ignore_elements = {'xl/worksheets/sheet1.xml': ['<pageMargins']}
|
||||
self.run_exe_test('test_print_options04')
|
||||
|
||||
def test_print_options05(self):
|
||||
self.ignore_elements = {'xl/worksheets/sheet1.xml': ['<pageMargins']}
|
||||
self.run_exe_test('test_print_options05')
|
||||
|
||||
def test_print_options06(self):
|
||||
self.ignore_elements = {'xl/worksheets/sheet1.xml': ['<pageMargins']}
|
||||
self.run_exe_test('test_print_options06')
|
||||
|
||||
|
Reference in New Issue
Block a user