[FIX] tests HTTPCase if phantomjs is not installed
bzr revid: al@openerp.com-20140216162026-ymbzoi70txbr64yl
This commit is contained in:
parent
d169f4ada6
commit
42db02f73c
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue