From c79ba8f78531d87d1c4a82bfad0f8448cd01ee79 Mon Sep 17 00:00:00 2001 From: Simon Lejeune Date: Wed, 3 Aug 2016 18:00:24 +0200 Subject: [PATCH] [FIX] web_editor: test ui should be in post install This test is ran in the backend and, if we do not mark it as post install, the dependencies of the web module are not installed. The webclient will then errors like "View type 'kanban' is not present in the view registry". --- addons/web_editor/tests/test_ui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/web_editor/tests/test_ui.py b/addons/web_editor/tests/test_ui.py index c0887201bba..062829ae06c 100644 --- a/addons/web_editor/tests/test_ui.py +++ b/addons/web_editor/tests/test_ui.py @@ -1,6 +1,7 @@ import openerp.tests - +@openerp.tests.common.at_install(False) +@openerp.tests.common.post_install(True) class TestUi(openerp.tests.HttpCase): def test_01_admin_rte(self): self.phantom_js("/web", "odoo.__DEBUG__.services['web.Tour'].run('rte', 'test')", "odoo.__DEBUG__.services['web.Tour'].tours.rte", login='admin')