Fix broken French i18n in CMS tests
French ugettext method was being monkey-patched with a "XYZ " prefix in all tests. This introduces a context manager to guarantee that the function reverts to its original state after the unit test has ended (successfuly or not).
Showing
Please
register
or
sign in
to comment