[REM] failing test code
committed by mistake bzr revid: xmo@openerp.com-20121116073738-9f43bm0q6eojns3v
This commit is contained in:
parent
d632471f64
commit
09037e8a42
|
@ -392,7 +392,6 @@ openerp.testing = {};
|
|||
}
|
||||
}
|
||||
|
||||
ok(false, "failed!")
|
||||
ok(false, message);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -85,15 +85,6 @@ openerp.testing.section('basic section', function (test) {
|
|||
});
|
||||
});
|
||||
|
||||
test('timeouting', {asserts: 1}, function () {
|
||||
var d = $.Deferred();
|
||||
setTimeout(function () {
|
||||
ok(true, "yeah");
|
||||
d.resolve('ok')
|
||||
}, 10000);
|
||||
return d.promise();
|
||||
});
|
||||
|
||||
test('actual RPC', {rpc: 'rpc', asserts: 4}, function (instance) {
|
||||
var Model = new instance.web.Model('web_tests_demo.model');
|
||||
return Model.call('create', [{name: "Bob"}])
|
||||
|
|
Loading…
Reference in New Issue