patches/Restricted: allow random.Random
all member of random module are available (because in ZopeGuards, there's a random.__allow_access_to_unprotected_subobjects__ = 1), SystemRandom class also is, but Random class was not, even though there should be nothing unsafe in this. This is needed if we want to use a random number generator with a fixed seed to get reproductible results. We could use random.seed module level function but since this is also used by several things in ERP5 this does not produce reproductible sequences.
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
passed |
#117297
external
|
ERP5.CodingStyleTest-TestRunner1 |
03:42:42
|
||||||
failed |
#117296
external
|
ERP5.PerformanceTest-TestRunner1 |
00:32:31
|
||||||
failed |
#117293
external
|
ERP5.UnitTest-TestRunner1 |
07:40:07
|
||||||
passed |
#117086
external
retried
|
ERP5.CodingStyleTest-TestRunner1 |
02:48:20
|
||||||
failed |
#117085
external
retried
|
ERP5.PerformanceTest-TestRunner1 |
00:32:52
|
||||||
failed |
#117119
external
retried
|
ERP5.UnitTest-TestRunner1 |
07:31:55
|
||||||