Ticket #13425 (confirmed Bug)
plone.i18n 2.0.5 fails tests with Unidecode >=0.04.5
Reported by: | Arfrever | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | Backend (Python) | Version: | 4.3 |
Keywords: | Cc: |
Description
plone.i18n 2.0.5 fails tests with all versions of Unidecode since 0.04.5. Tests pass with Unidecode 0.04.1. ( http://pypi.python.org/simple/Unidecode/ does not show any versions between 0.04.1 and 0.04.5.)
$ nosetests-2.7 .......................F..F......... ====================================================================== FAIL: test_english (plone.i18n.normalizer.tests.test_adapters.TestFileNameNormalizer) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/plone.i18n-2.0.5/plone/i18n/normalizer/tests/test_adapters.py", line 46, in test_english u'text with umlaut') AssertionError: 'text with umlut' != u'text with umlaut' -------------------- >> begin captured logging << -------------------- config: DEBUG: include /usr/lib64/python2.7/site-packages/zope/component/meta.zcml config: DEBUG: include /tmp/plone.i18n-2.0.5/plone/i18n/normalizer/configure.zcml --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: test_english (plone.i18n.normalizer.tests.test_adapters.TestUrlNormalizer) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/plone.i18n-2.0.5/plone/i18n/normalizer/tests/test_adapters.py", line 76, in test_english u'text-with-umlaut') AssertionError: 'text-with-umlut' != u'text-with-umlaut' -------------------- >> begin captured logging << -------------------- config: DEBUG: include /usr/lib64/python2.7/site-packages/zope/component/meta.zcml config: DEBUG: include /tmp/plone.i18n-2.0.5/plone/i18n/normalizer/configure.zcml --------------------- >> end captured logging << --------------------- ---------------------------------------------------------------------- Ran 36 tests in 1.921s FAILED (failures=2)
Change History
Note: See
TracTickets for help on using
tickets.