[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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user