[devtools/test] Skip qunit tests in case of timeout
authorDenis Laxalde <denis.laxalde@logilab.fr>
Wed, 18 Jan 2017 17:16:00 +0100
changeset 11898 c5d3382f14e9
parent 11897 2ceb0bfa4b3f
child 11899 bf6106b91633
[devtools/test] Skip qunit tests in case of timeout Follow-up on 87443f279b0f where other similar tests got adjusted not to fail (in particular in our CI environment).
cubicweb/devtools/test/unittest_qunit.py
--- a/cubicweb/devtools/test/unittest_qunit.py	Thu Feb 18 14:22:07 2016 +0100
+++ b/cubicweb/devtools/test/unittest_qunit.py	Wed Jan 18 17:16:00 2017 +0100
@@ -1,3 +1,5 @@
+from unittest import SkipTest
+
 from cubicweb.devtools import qunit
 
 
@@ -6,6 +8,7 @@
 
 class QUnitTestCaseTC(qunit.QUnitTestCase):
 
+    timeout_error = SkipTest
     all_js_tests = (
                     (js('test_simple_success.js'),),
                     (js('test_with_dep.js'), (js('dep_1.js'),)),