[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.
This commit is contained in:
Simon Lejeune
2016-06-13 15:32:44 +02:00
parent ab833656bc
commit 3f16ddfe50
+4
View File
@@ -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')