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