[IMP] recent qunit will send moduleStart with no name if error happens outside of a testing module
bzr revid: xmo@openerp.com-20130807112159-91jdzgl6g2fk966t
This commit is contained in:
parent
11fb809e60
commit
82999df03c
|
@ -91,7 +91,7 @@ class QUnitSuite(unittest.TestSuite):
|
|||
return True
|
||||
|
||||
elif event_name == 'qunit.moduleStart':
|
||||
self._module = args[1].encode('utf-8')
|
||||
self._module = args[1].encode('utf-8') if args[1] else ''
|
||||
elif event_name == 'qunit.moduleStop':
|
||||
self._test = None
|
||||
self._module = None
|
||||
|
|
Loading…
Reference in New Issue