diff options
| author | Julien Thewys <jth@openerp.com> | 2010-04-08 19:23:33 +0200 |
|---|---|---|
| committer | Julien Thewys <jth@openerp.com> | 2010-04-08 19:23:33 +0200 |
| commit | fc9bf8716a91e01a40dbcd93e2177672d4aeefc7 (patch) | |
| tree | 30728b4c6e938806dbe362f613929ecc71125c9f /bin/addons/__init__.py | |
| parent | 64ffd5e8b7a701876fdea722d0ecd033d9d6e87e (diff) | |
[FIX] Ensure a failing test do not stop the server unless it has ERROR severity/level.
[FIX] Load tests only if demo data are present.
bzr revid: jth@openerp.com-20100408172333-1g3g4nfy6m81m4zw
Diffstat (limited to 'bin/addons/__init__.py')
| -rw-r--r-- | bin/addons/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/addons/__init__.py b/bin/addons/__init__.py index 4dd62f11694..60850c16ff8 100644 --- a/bin/addons/__init__.py +++ b/bin/addons/__init__.py @@ -724,8 +724,7 @@ def load_module_graph(cr, graph, status=None, perform_checks=True, **kwargs): load_demo_xml(cr, m, idref, mode) load_demo(cr, m, idref, mode) cr.execute('update ir_module_module set demo=%s where id=%s', (True, mid)) - - load_test(cr, m, idref, mode) + load_test(cr, m, idref, mode) package_todo.append(package.name) |
