diff options
| author | Géry Debongnie <ged@odoo.com> | 2015-03-17 08:51:56 +0100 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2015-03-18 09:23:37 +0100 |
| commit | ebc39b8788e39f867112b0ec4e8b029fe4a71acb (patch) | |
| tree | a9e08e15b5b623c48b493ec8268e9323d6c11049 /addons/website_forum/tests | |
| parent | 4fdf74fe21b9fb99ed9cdcb1a0ef2e21d34dafed (diff) | |
[FIX] update tests to new module system
Various tests (mostly tours) were broken with the large changes in the
way the js code works.
Diffstat (limited to 'addons/website_forum/tests')
| -rw-r--r-- | addons/website_forum/tests/test_forum_process.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_forum/tests/test_forum_process.py b/addons/website_forum/tests/test_forum_process.py index 8cb1eacb93a..e367c845af0 100644 --- a/addons/website_forum/tests/test_forum_process.py +++ b/addons/website_forum/tests/test_forum_process.py @@ -4,8 +4,8 @@ import openerp.tests @openerp.tests.common.post_install(True) class TestUi(openerp.tests.HttpCase): def test_01_admin_forum_tour(self): - self.phantom_js("/", "openerp.Tour.run('question', 'test')", "openerp.Tour.tours.question", login="admin") + self.phantom_js("/", "odoo.__DEBUG__.services['web.Tour'].run('question', 'test')", "odoo.__DEBUG__.services['web.Tour'].tours.question", login="admin") def test_02_demo_question(self): - self.phantom_js("/", "openerp.Tour.run('forum_question', 'test')", "openerp.Tour.tours.forum_question", login="demo") + self.phantom_js("/", "odoo.__DEBUG__.services['web.Tour'].run('forum_question', 'test')", "odoo.__DEBUG__.services['web.Tour'].tours.forum_question", login="demo") |
