Browse Source

[FIX][12.0] database_cleanup: Mute logger on tests

12.0-mig-module_prototyper_last
Enric Tobella 4 years ago
parent
commit
f7dd9d769e
  1. 1
      database_cleanup/tests/test_database_cleanup.py

1
database_cleanup/tests/test_database_cleanup.py

@ -95,6 +95,7 @@ class TestDatabaseCleanup(TransactionCase):
# reference to it
original_registry = Registry.registries[self.env.cr.dbname]
config.options['test_enable'] = False
with mute_logger('odoo.modules.graph', 'odoo.modules.loading'):
purge_modules.purge_all()
config.options['test_enable'] = True
# must be removed by the wizard

Loading…
Cancel
Save