It seems to be a better solution to keep starting tests without being in debug mode to avoid having new fields and menus appearing. This commit simply drop the debug mode in test mode and retrieve the test assets by checking if test mode is enabled directly. closes odoo/odoo#34012 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>