From 8bc3d824e65cd9467f1904a690fd9b12000f79e6 Mon Sep 17 00:00:00 2001 From: Godefroid Chapelle Date: Tue, 15 Mar 2022 10:35:00 +0100 Subject: [PATCH] Fix test after PortalTransforms uses lxml html method to serialize (instead of xml method) --- plone/app/discussion/tests/test_comment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plone/app/discussion/tests/test_comment.py b/plone/app/discussion/tests/test_comment.py index b8fdade..f5f726c 100644 --- a/plone/app/discussion/tests/test_comment.py +++ b/plone/app/discussion/tests/test_comment.py @@ -158,7 +158,7 @@ class CommentTest(unittest.TestCase): comment1.text = 'First paragraph\n\nSecond_paragraph' self.assertEqual( ''.join(comment1.getText().split()), - '

Firstparagraph

Second_paragraph

', + '

Firstparagraph

Second_paragraph

', ) def test_getText_escapes_HTML(self):