Closed Ignas closed 13 years ago
def test_translate_stripExtraWhitespaceAfterText(self): snippet="""\ <html xmlns:i18n="http://xml.zope.org/namespaces/i18n" i18n:domain="lingua"> <dummy i18n:translate=""> Dummy text </dummy> </html> """ self.assertEqual(self.extract(snippet), [(2, None, u"Dummy text", [])])