[qunit] no need to enable CORS anymore
authorJulien Cristau <julien.cristau@logilab.fr>
Thu, 26 Nov 2015 14:37:06 +0100
changeset 10945 4861d387a519
parent 10944 25e2878a5ee2
child 10946 f7179ecfbae0
[qunit] no need to enable CORS anymore We serve everything needed for the tests through cubicweb.
devtools/qunit.py
--- a/devtools/qunit.py	Thu Nov 26 14:34:47 2015 +0100
+++ b/devtools/qunit.py	Thu Nov 26 14:37:06 2015 +0100
@@ -80,7 +80,6 @@
     all_js_tests = ()
 
     def setUp(self):
-        self.config.global_set_option('access-control-allow-origin', '*')
         super(QUnitTestCase, self).setUp()
         self.test_queue = Queue()
         class MyQUnitResultController(QUnitResultController):