[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".
This commit is contained in:
Simon Lejeune
2016-08-09 14:39:20 +02:00
parent c1b2d74bc3
commit c79ba8f785
+2 -1
View File
@@ -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')