Before this commit, the registry was entering test_mode in setUp, leading to a hole during the setUpClass with a registry not in test mode at this moment. closes odoo/odoo#122585 X-original-commit: 993e4d2f98b9982eb64123d6cd0de8cc3b2056f4 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>