Merge pull request #193 from plone/do_not_autoclose_tags
[Master] Fix test after PortalTransforms uses lxml html method to serialize (instead of xml method)
This commit is contained in:
commit
d37488dd26
@ -158,7 +158,7 @@ class CommentTest(unittest.TestCase):
|
|||||||
comment1.text = 'First paragraph\n\nSecond_paragraph'
|
comment1.text = 'First paragraph\n\nSecond_paragraph'
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
''.join(comment1.getText().split()),
|
''.join(comment1.getText().split()),
|
||||||
'<p>Firstparagraph<br/><br/>Second_paragraph</p>',
|
'<p>Firstparagraph<br><br>Second_paragraph</p>',
|
||||||
)
|
)
|
||||||
|
|
||||||
def test_getText_escapes_HTML(self):
|
def test_getText_escapes_HTML(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user