libxlsxwriter/test/functional/test_protect.py
John McNamara 29c5461610 Add option to set read-only mode when opening a file.
Added the worksheet read_only_recommended() method to set the Excel
"Read-only Recommended" option that is available when saving a file.
2021-03-27 20:36:13 +00:00

26 lines
644 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_protect01(self):
self.run_exe_test('test_protect01')
def test_protect02(self):
self.run_exe_test('test_protect02')
def test_protect03(self):
self.run_exe_test('test_protect03')
def test_protect07(self):
self.run_exe_test('test_protect07')