Commit 739a8db0 authored by CharlieC's avatar CharlieC
Browse files

Add test to demonstrate 1284

--HG--
branch : 3.0
parent 91f2dc27ce29
......@@ -17,10 +17,10 @@ class TestDataValidation:
def test_ctor(self, DataValidation):
dv = DataValidation()
dv = DataValidation(allowBlank=True)
xml = tostring(dv.to_tree())
expected = """
<dataValidation allowBlank="0" showErrorMessage="1" showInputMessage="1" sqref="" />
<dataValidation allowBlank="1" showErrorMessage="1" showInputMessage="1" sqref="" />
"""
diff = compare_xml(xml, expected)
assert diff is None, diff
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment