Mercurial > libervia-backend
diff src/test/test_plugin_misc_text_syntaxes.py @ 1809:821c77574ad9
test, setup: requires lxml >= 3.1.0 (fixes html cleaning issue)
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 21 Aug 2014 20:45:24 +0200 |
parents | d17772b0fe22 |
children | 160b0d4c6520 |
line wrap: on
line diff
--- a/src/test/test_plugin_misc_text_syntaxes.py Mon Jan 18 17:30:14 2016 +0100 +++ b/src/test/test_plugin_misc_text_syntaxes.py Thu Aug 21 20:45:24 2014 +0200 @@ -100,7 +100,7 @@ return d def test_removeXHTMLMarkups(self): - expected = u""" a link another link a paragraph secret EVIL! of EVIL! Password: annoying EVIL!spam spam SPAM! """ + expected = u""" a link another link a paragraph secret EVIL! of EVIL! Password: annoying EVIL! spam spam SPAM! """ result = self.text_syntaxes._removeMarkups(self.EVIL_HTML1) self.assertEqual(re.sub(r"\s+", " ", result).rstrip(), expected.rstrip())