summaryrefslogtreecommitdiff
path: root/odoo/tests
diff options
context:
space:
mode:
authorXavier Dubuc <xdu@odoo.com>2020-06-29 12:45:42 +0000
committerXavier Dubuc <xdu@odoo.com>2020-07-06 14:23:17 +0000
commit5afc70faef1de3510f38d3cb4253ad4e05a0b676 (patch)
tree24a824112ed4c5433fd5c90a7608e2ff441c1730 /odoo/tests
parent2479da0176280d723a5c6f5de1f3be2b77dfb51f (diff)
[FIX] mail: fix open thread in discuss
See also odoo/enterprise#11684 task-2282273 closes odoo/odoo#54141 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'odoo/tests')
-rw-r--r--odoo/tests/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/tests/common.py b/odoo/tests/common.py
index 7c032ac58ee..84ab36e5008 100644
--- a/odoo/tests/common.py
+++ b/odoo/tests/common.py
@@ -1402,7 +1402,7 @@ class HttpCase(TransactionCase):
`browser_js` can be passed as keyword arguments."""
step_delay = ', %s' % step_delay if step_delay else ''
code = kwargs.pop('code', "odoo.startTour('%s'%s)" % (tour_name, step_delay))
- ready = kwargs.pop('ready', "odoo.__DEBUG__.services['web_tour.tour'].tours.%s.ready" % tour_name)
+ ready = kwargs.pop('ready', "odoo.__DEBUG__.services['web_tour.tour'].tours['%s'].ready" % tour_name)
res = self.browser_js(url_path=url_path, code=code, ready=ready, **kwargs)
# some tests read the result after the tour, and as the tour does not
# use this environment's cache, invalidate it to fetch the data from the