diff options
| author | Christophe Matthieu <chm@odoo.com> | 2016-08-25 15:03:05 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2016-08-30 13:54:28 +0200 |
| commit | d39fbea9ad5d8dc130171488297312a27cd347aa (patch) | |
| tree | c7193e38fa9b51a3cb41c10e82e6f6bca9462136 /addons/website_forum/tests | |
| parent | 3fe48f7f495f07b151f21936da5c8185343f36f5 (diff) | |
[IMP] website_forum: convert tours to use web_tour.tour
Diffstat (limited to 'addons/website_forum/tests')
| -rw-r--r-- | addons/website_forum/tests/test_forum_process.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/addons/website_forum/tests/test_forum_process.py b/addons/website_forum/tests/test_forum_process.py index a81140c6cd3..2f23ebae67e 100644 --- a/addons/website_forum/tests/test_forum_process.py +++ b/addons/website_forum/tests/test_forum_process.py @@ -2,10 +2,11 @@ import odoo.tests - -@odoo.tests.common.at_install(False) -@odoo.tests.common.post_install(True) class TestUi(odoo.tests.HttpCase): + + post_install = True + at_install = False + def test_01_admin_forum_tour(self): self.phantom_js("/", "odoo.__DEBUG__.services['web_tour.tour'].run('question')", "odoo.__DEBUG__.services['web_tour.tour'].tours.question.ready", login="admin") @@ -15,4 +16,4 @@ class TestUi(odoo.tests.HttpCase): forum = env.ref('website_forum.forum_help') demo = env.ref('base.user_demo') demo.karma = forum.karma_post + 1 - self.phantom_js("/", "odoo.__DEBUG__.services['web.Tour'].run('forum_question', 'test')", "odoo.__DEBUG__.services['web.Tour'].tours.forum_question", login="demo") + self.phantom_js("/", "odoo.__DEBUG__.services['web_tour.tour'].run('forum_question')", "odoo.__DEBUG__.services['web_tour.tour'].tours.forum_question.ready", login="demo") |
