[FIX] base: test_console_log_object broken if log level > info
[FIX] base: test_console_log_object broken if log level > info

If odoo is started with a log-level of "warn" of higher, the logging
record is not emitted at all and thus the handler added by assertLogs
has nothing to process at all. As a result the test will fail.

closes odoo/odoo#40802

Signed-off-by: Xavier Morel (xmo) <0f311f41b2be8e2b5de98776566d712cdc154ca4@odoo.com>

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo