Refactor CloudOoo tests.

- Each class now correspond to an instance with different configuration,
and possibly several test methods.
- Upgraded to more recent pypdf version.
- The code has been reviewed to reduce complexity and repetition.
- Adds documentation to all public functions, in Google style.
- Some other cosmetic changes have been made for
consistency (consistent parentheses indentation, consistent string
literal quotes), courtesy of ruff.

See merge request !1628
49 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
passed Cloudooo.UnitTest-Master

00:14:11

passed ERP5.StandaloneDeploymentScriptTest-Debian.Buster

00:40:23

failed ERP5.StandaloneDeploymentScriptTest-Debian.Buster.Master

15:02:30

failed ERP5.UnitTest-Zope4Py3-Py2

01:22:18

passed SlapOS.Eggs.UnitTest-Master.Python2

00:25:07

failed SlapOS.Eggs.UnitTest-Master.Python3

00:25:13

failed SlapOS.SoftwareReleases.IntegrationTest-Master

07:17:08

passed SlapOS.Theia.ResilienceTest-Master-ERP5

06:58:03

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster

00:49:27

failed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master

14:05:32

passed ERP5.StandaloneDeploymentScriptTest-Debian.Buster

00:29:52

passed ERP5.StandaloneDeploymentScriptTest-Debian.Buster

00:20:17

passed ERP5.StandaloneDeploymentScriptTest-Debian.Buster

00:37:00

passed ERP5.StandaloneDeploymentScriptTest-Debian.Buster

00:30:43

passed ERP5.StandaloneDeploymentScriptTest-Debian.Buster

00:36:09

passed ERP5.StandaloneDeploymentScriptTest-Debian.Buster

00:34:22

passed ERP5.StandaloneDeploymentScriptTest-Debian.Buster.Master

09:50:03

failed ERP5.UnitTest-Zope4Py3-Py2

02:20:09

failed ERP5.UnitTest-Zope4Py3-Py2

02:25:40

failed ERP5.UnitTest-Zope4Py3-Py2

03:46:14

failed ERP5.UnitTest-Zope4Py3-Py2

04:34:23

failed ERP5.UnitTest-Zope4Py3-Py2

02:14:58

failed ERP5.UnitTest-Zope4Py3-Py2

03:03:10

failed SlapOS.Eggs.UnitTest-Master.Python2

00:42:18

passed SlapOS.Eggs.UnitTest-Master.Python2

00:26:46

passed SlapOS.Eggs.UnitTest-Master.Python2

00:24:10

passed SlapOS.Eggs.UnitTest-Master.Python2

00:27:11

passed SlapOS.Eggs.UnitTest-Master.Python3

00:24:09

passed SlapOS.Eggs.UnitTest-Master.Python3

00:27:27

passed SlapOS.Eggs.UnitTest-Master.Python3

00:30:10

passed SlapOS.Eggs.UnitTest-Master.Python3

00:25:51

failed SlapOS.SoftwareReleases.IntegrationTest-Master

00:02:18

failed SlapOS.SoftwareReleases.IntegrationTest-Master

00:04:56

failed SlapOS.SoftwareReleases.IntegrationTest-Master

00:04:01

failed SlapOS.Theia.ResilienceTest-Master-ERP5

00:01:47

failed SlapOS.Theia.ResilienceTest-Master-ERP5

00:00:33

failed SlapOS.Theia.ResilienceTest-Master-ERP5

00:01:10

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster

00:30:06

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster

00:30:27

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster

14:33:49

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster

09:40:13

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster

00:29:57

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster

00:35:19

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master

14:32:46

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master

10:00:25

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master

10:41:53

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master

10:30:54

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master

08:54:48

failed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master

13:20:48