Fix ODT test
This commit is contained in:
@@ -1031,8 +1031,8 @@ def testCoreToOdt_ODTTextStyle():
|
|||||||
assert txtStyle._tAttr["text-line-through-type"] == ["style", None]
|
assert txtStyle._tAttr["text-line-through-type"] == ["style", None]
|
||||||
txtStyle.setStrikeType("stuff")
|
txtStyle.setStrikeType("stuff")
|
||||||
assert txtStyle._tAttr["text-line-through-type"] == ["style", None]
|
assert txtStyle._tAttr["text-line-through-type"] == ["style", None]
|
||||||
txtStyle.setStrikeType("none")
|
txtStyle.setStrikeType("none") # Deprecated in ODF 1.3
|
||||||
assert txtStyle._tAttr["text-line-through-type"] == ["style", "none"]
|
assert txtStyle._tAttr["text-line-through-type"] == ["style", None]
|
||||||
txtStyle.setStrikeType("single")
|
txtStyle.setStrikeType("single")
|
||||||
assert txtStyle._tAttr["text-line-through-type"] == ["style", "single"]
|
assert txtStyle._tAttr["text-line-through-type"] == ["style", "single"]
|
||||||
txtStyle.setStrikeType("double")
|
txtStyle.setStrikeType("double")
|
||||||
|
|||||||
Reference in New Issue
Block a user