[FIX] js admin test postinstall

Web client won't work without kanbanview, graph, ... so
we should not test the admin before they are installed

bzr revid: fme@openerp.com-20140428102756-7mus5xls5jybklo3
This commit is contained in:
Fabien Meghazi 2014-04-28 12:27:56 +02:00
parent 18615e2493
commit 9dc42584b8
1 changed files with 6 additions and 2 deletions

View File

@ -10,7 +10,11 @@ class TestUi(openerp.tests.HttpCase):
self.phantom_jsfile(os.path.join(os.path.dirname(__file__), 'test_ui_load.js'))
def test_03_js_public(self):
self.phantom_js('/',"console.log('ok')","console")
def test_04_js_admin(self):
self.phantom_js('/',"console.log('ok')","openerp.client.action_manager.inner_widget.views.form", login='admin')
@openerp.tests.common.at_install(False)
@openerp.tests.common.post_install(True)
class TestUiPostload(openerp.tests.HttpCase):
def test_01_js_admin(self):
self.phantom_js('/web',"console.log('ok')","openerp.client.action_manager.inner_widget.views.form", login='admin')
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: