diff options
| author | Vo Minh Thu <vmt@openerp.com> | 2012-12-03 11:42:28 +0100 |
|---|---|---|
| committer | Vo Minh Thu <vmt@openerp.com> | 2012-12-03 11:42:28 +0100 |
| commit | 7afd9783e8adbc2c540a6c469397feb5d0616597 (patch) | |
| tree | 1cb2845605d4c954e5e4599ccd7f28bfafff38c6 /openerp/modules/module.py | |
| parent | e87ff010e7ae94bf5593411d5493af048e62e418 (diff) | |
[IMP] Use the loglevel TEST when logging test file loading and testsuite execution.
bzr revid: vmt@openerp.com-20121203104228-8a5on97pn9r1klls
Diffstat (limited to 'openerp/modules/module.py')
| -rw-r--r-- | openerp/modules/module.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openerp/modules/module.py b/openerp/modules/module.py index 39c9817a878..ca654b9a2eb 100644 --- a/openerp/modules/module.py +++ b/openerp/modules/module.py @@ -553,7 +553,7 @@ def run_unit_tests(module_name): for m in ms: suite.addTests(unittest2.TestLoader().loadTestsFromModule(m)) if ms: - _logger.info('module %s: executing %s `fast_suite` and/or `checks` sub-modules', module_name, len(ms)) + _logger.log(logging.TEST, 'module %s: executing %s `fast_suite` and/or `checks` sub-modules', module_name, len(ms)) # Use a custom stream object to log the test executions. class MyStream(object): def __init__(self): |
