summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/testing.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-10-26 11:21:44 +0200
committerXavier Morel <xmo@openerp.com>2012-10-26 11:21:44 +0200
commita13003540950de824b6a848abffd43cc83b7648d (patch)
treeda32adf01ecc13fa8f5bb2a78df8042b4a79bd34 /addons/web/static/src/js/testing.js
parent04282ff00e8fa70c3eb0e9a48ba0cd32aa0e1cd7 (diff)
[IMP] port basic/existing tests to new framework, apart from editor stuff
bzr revid: xmo@openerp.com-20121026092144-0arxx2v9oi28e3d6
Diffstat (limited to 'addons/web/static/src/js/testing.js')
-rw-r--r--addons/web/static/src/js/testing.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/web/static/src/js/testing.js b/addons/web/static/src/js/testing.js
index e4f327bf0c3..45728902e7f 100644
--- a/addons/web/static/src/js/testing.js
+++ b/addons/web/static/src/js/testing.js
@@ -151,6 +151,9 @@ openerp.testing = {};
// TODO: clean up this mess
var d = opts.dependencies.slice();
+ // dependencies list should be in deps order, reverse to make
+ // loading order from last
+ d.reverse();
var di = 0;
while (di < d.length) {
var m = /^web\.(\w+)$/.exec(d[di]);