# HG changeset patch # User Laurent Peuch # Date 1576602242 -3600 # Node ID e830ace445bfa274964247ed6263aec6277c37b6 # Parent 6a3634515bd57027ae8938b4a44c3e13d9dfa532 [test] ensure FirefoxHelper successfully exited diff -r 6a3634515bd5 -r e830ace445bf cubicweb/devtools/qunit.py --- a/cubicweb/devtools/qunit.py Tue Dec 17 17:54:09 2019 +0100 +++ b/cubicweb/devtools/qunit.py Tue Dec 17 18:04:02 2019 +0100 @@ -95,6 +95,8 @@ assert self._process.returncode is None, self._process.returncode self._process.terminate() self._process.wait() + assert self._process.returncode == 0, "Error: firefox return code is %s, see %s" %\ + (self._process.returncode, self.log_file) self._process = None def __del__(self):