From 2214b7472b1fb9e109dcd30616bb418ac0e6cf7a Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Fri, 20 Oct 2023 00:06:43 +0200 Subject: [PATCH] Fix ODT test --- tests/test_core/test_core_toodt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_core/test_core_toodt.py b/tests/test_core/test_core_toodt.py index 19962185..10a29b85 100644 --- a/tests/test_core/test_core_toodt.py +++ b/tests/test_core/test_core_toodt.py @@ -1031,8 +1031,8 @@ def testCoreToOdt_ODTTextStyle(): assert txtStyle._tAttr["text-line-through-type"] == ["style", None] txtStyle.setStrikeType("stuff") assert txtStyle._tAttr["text-line-through-type"] == ["style", None] - txtStyle.setStrikeType("none") - assert txtStyle._tAttr["text-line-through-type"] == ["style", "none"] + txtStyle.setStrikeType("none") # Deprecated in ODF 1.3 + assert txtStyle._tAttr["text-line-through-type"] == ["style", None] txtStyle.setStrikeType("single") assert txtStyle._tAttr["text-line-through-type"] == ["style", "single"] txtStyle.setStrikeType("double")