From 42db02f73c19c618bf61ef1c933e82086458274a Mon Sep 17 00:00:00 2001 From: Antony Lesuisse Date: Sun, 16 Feb 2014 17:20:26 +0100 Subject: [PATCH] [FIX] tests HTTPCase if phantomjs is not installed bzr revid: al@openerp.com-20140216162026-ymbzoi70txbr64yl --- openerp/tests/common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openerp/tests/common.py b/openerp/tests/common.py index dd0350aa7ca..94cf02f42d8 100644 --- a/openerp/tests/common.py +++ b/openerp/tests/common.py @@ -175,7 +175,8 @@ class HttpCase(TransactionCase): try: phantom = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) except OSError: - _logger.info("phantomjs not found, test %s skipped", jsfile) + _logger.info("phantomjs not found, test skipped") + return try: self.phantom_poll(phantom, timeout) finally: