test, setup: requires lxml >= 3.1.0 (fixes html cleaning issue)

This commit is contained in:
souliane 2014-08-21 20:45:24 +02:00
commit aa2b4f6e67
3 changed files with 3 additions and 3 deletions

View file

@ -100,7 +100,7 @@ class SanitisationTest(helpers.SatTestCase):
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())