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 |
#117584
external
|
ERP5.CodingStyleTest-Master |
01:37:06
|
||||||
failed |
#117599
external
|
ERP5.PerformanceTest-Master |
02:54:37
|
||||||
failed |
#117582
external
|
ERP5.UnitTest-Master |
02:05:40
|
||||||
failed |
#117573
external
|
ERP5.UnitTest-Master.Medusa |
02:38:46
|
||||||
passed |
#117567
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:30:33
|
||||||