Commit 0f5ff0f6 authored by Jérome Perrin's avatar Jérome Perrin

update Localizer patch to repair translations in unit tests

parent 50d38916
...@@ -130,9 +130,10 @@ ZopeTestCase.installProduct('Localizer', quiet=install_product_quiet) ...@@ -130,9 +130,10 @@ ZopeTestCase.installProduct('Localizer', quiet=install_product_quiet)
try: try:
# Workaround Localizer >= 1.2 patch that doesn't work with # Workaround Localizer >= 1.2 patch that doesn't work with
# ZopeTestCase REQUESTs (it's the same as iHotFix # ZopeTestCase REQUESTs (it's the same as iHotFix
from Products.Localizer import patches from Products.Localizer import patches, utils
# revert monkey patches from Localizer # revert monkey patches from Localizer
patches.get_request = get_request patches.get_request = get_request
utils.get_request = get_request
except ImportError: except ImportError:
pass pass
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment