From 97a097dbab2c120485fd7228e8b9725e71fd636a Mon Sep 17 00:00:00 2001 From: Antony Lesuisse Date: Sun, 16 Mar 2014 20:52:52 +0100 Subject: [PATCH] [IMP] tests log phantom to info the default loglevel of runbot bzr revid: al@openerp.com-20140316195252-i6wr3scp0zmx92zu --- openerp/tests/common.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openerp/tests/common.py b/openerp/tests/common.py index 378191377fbd7..9845d2be86d33 100644 --- a/openerp/tests/common.py +++ b/openerp/tests/common.py @@ -228,7 +228,7 @@ def phantom_poll(self, phantom, timeout): line = str(line) # relay everything from console.log, even 'ok' or 'error...' lines - _logger.debug("phantomjs: %s", line) + _logger.info("phantomjs: %s", line) if line == "ok": break @@ -242,7 +242,7 @@ def phantom_poll(self, phantom, timeout): self.fail(line_ or "phantomjs test failed") def phantom_run(self, cmd, timeout): - _logger.debug('phantom_run executing %s', ' '.join(cmd)) + _logger.info('phantom_run executing %s', ' '.join(cmd)) try: phantom = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) except OSError: @@ -253,7 +253,7 @@ def phantom_run(self, cmd, timeout): # kill phantomjs if phantom.exit() wasn't called in the test if phantom.poll() is None: phantom.terminate() - _logger.debug("phantom_run execution finished") + _logger.info("phantom_run execution finished") def phantom_jsfile(self, jsfile, timeout=30, **kw): options = {