flectra/addons/web/doc/module/23

15 lines
449 B
Plaintext
Raw Normal View History

Index: web_example/static/src/tests/timer.js
===================================================================
--- web_example.orig/static/src/tests/timer.js
+++ web_example/static/src/tests/timer.js
@@ -1 +1,8 @@
-
+openerp.testing.section('timer', function (test) {
+ test('successful test', function () {
+ ok(true, "should work");
+ });
+ test('unsuccessful test', function () {
+ ok(false, "shoud fail");
+ });
+});