phantomjs segfaults

bzr revid: al@openerp.com-20140131002019-tbvgpunj6kj6675v
This commit is contained in:
Antony Lesuisse
2014-01-31 01:20:19 +01:00
parent c1739bfb8d
commit 1c283ddf24
+3 -2
View File
@@ -58,8 +58,9 @@ class WebsiteUiSuite(unittest.TestSuite):
return iter([self])
def run(self, result):
# clean slate
if sql_db._Pool is not None:
return
# clean slate
if sql_db._Pool is not None:
sql_db._Pool.close_all(sql_db.dsn(tools.config['db_name']))
# check for PhantomJS...
try: