From 3f16ddfe503e36c9df63e4186c0674ccb61e7097 Mon Sep 17 00:00:00 2001 From: Simon Lejeune Date: Mon, 13 Jun 2016 15:32:41 +0200 Subject: [PATCH] [FIX] web_editor: run rte tests in post_install The test begins by opening the webclient which default view is the kanban view of the apps. However, by running this test at the web module installation, web_kanban is not yet installed. --- addons/web_editor/tests/test_ui.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addons/web_editor/tests/test_ui.py b/addons/web_editor/tests/test_ui.py index c0887201bba..8fb85d6569f 100644 --- a/addons/web_editor/tests/test_ui.py +++ b/addons/web_editor/tests/test_ui.py @@ -2,6 +2,10 @@ import openerp.tests class TestUi(openerp.tests.HttpCase): + + post_install = True + at_install = False + 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')