flectra/addons/portal/tests/test_load_process.py

16 lines
548 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
2018-01-16 11:34:37 +01:00
# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
import flectra.tests
2018-01-16 11:34:37 +01:00
@flectra.tests.common.at_install(False)
@flectra.tests.common.post_install(True)
class TestUi(flectra.tests.HttpCase):
def test_01_portal_load_tour(self):
self.phantom_js(
"/",
2018-01-16 11:34:37 +01:00
"flectra.__DEBUG__.services['web_tour.tour'].run('portal_load_homepage')",
"flectra.__DEBUG__.services['web_tour.tour'].tours.portal_load_homepage.ready",
login="portal"
)