Localizer,tests: fix translationContext that was working only in test
Test setup monkey-patched some function which we removed when merging Zope4 support. This function was used in translationContext, it was working fine in the tests, because the function was here thanks to the monkey-patch, but it failed with ImportError when used for real. This fixes the import to use the real getRequest and drop the patch to prevent similar problems.
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
passed |
#579997
external
|
ERP5.CodingStyleTest-Master |
01:06:33
|
||||||
passed |
#580009
external
|
ERP5.PerformanceTest-Master |
00:26:53
|
||||||
failed |
#579993
external
|
ERP5.UnitTest-Master |
02:11:46
|
||||||
failed |
#580040
external
|
ERP5.UnitTest-Zope2 |
04:22:03
|
||||||
passed |
#580029
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:25:31
|
||||||
passed |
#580020
external
|
Wendelin.UnitTest-Master |
03:55:05
|
||||||
passed |
#579929
external
retried
|
ERP5.CodingStyleTest-Master |
01:02:34
|
||||||
passed |
#579921
external
retried
|
ERP5.PerformanceTest-Master |
00:26:51
|
||||||
passed |
#579934
external
retried
|
ERP5.UnitTest-Master |
01:20:13
|
||||||
failed |
#579947
external
retried
|
ERP5.UnitTest-Zope2 |
04:11:04
|
||||||
passed |
#579915
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:17:03
|
||||||
passed |
#579924
external
retried
|
Wendelin.UnitTest-Master |
00:36:44
|
||||||