summaryrefslogtreecommitdiff
path: root/addons/website_event/tests
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2015-03-17 08:51:56 +0100
committerGéry Debongnie <ged@odoo.com>2015-03-18 09:23:37 +0100
commitebc39b8788e39f867112b0ec4e8b029fe4a71acb (patch)
treea9e08e15b5b623c48b493ec8268e9323d6c11049 /addons/website_event/tests
parent4fdf74fe21b9fb99ed9cdcb1a0ef2e21d34dafed (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_event/tests')
-rw-r--r--addons/website_event/tests/test_ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_event/tests/test_ui.py b/addons/website_event/tests/test_ui.py
index d2f13d79090..9eb19b29359 100644
--- a/addons/website_event/tests/test_ui.py
+++ b/addons/website_event/tests/test_ui.py
@@ -4,4 +4,4 @@ import openerp.tests
@openerp.tests.common.post_install(True)
class TestUi(openerp.tests.HttpCase):
def test_admin(self):
- self.phantom_js("/", "openerp.Tour.run('event', 'test')", "openerp.Tour.tours.event", login='admin')
+ self.phantom_js("/", "odoo.__DEBUG__.services['web.Tour'].run('event', 'test')", "odoo.__DEBUG__.services['web.Tour'].tours.event", login='admin')