Fix broken tests after !1011

Fix broken tests after !1011 it was merged too fast.

/reviewed-on !1018
3 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

00:52:11

failed ERP5.UnitTest-Master

01:24:38

passed SlapOS.Eggs.UnitTest-Master.Python2

00:21:24