summaryrefslogtreecommitdiff
path: root/addons/website_version
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_version
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_version')
-rw-r--r--addons/website_version/tests/test_ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_version/tests/test_ui.py b/addons/website_version/tests/test_ui.py
index 2ef63963bbb..cfd8e542c30 100644
--- a/addons/website_version/tests/test_ui.py
+++ b/addons/website_version/tests/test_ui.py
@@ -5,4 +5,4 @@ import openerp.tests
@openerp.tests.common.post_install(True)
class TestUi(openerp.tests.HttpCase):
def test_01_versioning(self):
- self.phantom_js("/", "openerp.Tour.run('versioning', 'test')", "openerp.Tour.tours.versioning", login='admin') \ No newline at end of file
+ self.phantom_js("/", "odoo.__DEBUG__.services['web.Tour'].run('versioning', 'test')", "odoo.__DEBUG__.services['web.Tour'].tours.versioning", login='admin') \ No newline at end of file