summaryrefslogtreecommitdiff
path: root/addons/gamification/tests
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2014-04-16 17:31:53 +0200
committerMartin Trigaux <mat@openerp.com>2014-04-16 17:31:53 +0200
commit36acee7568e8caae6356893fd7f071feed1f4cfd (patch)
tree219a7cbd6d12fea1f3a8f91e1064eca4aef33281 /addons/gamification/tests
parent0c32e7241d76fce55c89128c5d11c8c9b4e6ee2a (diff)
[FIX] gamification: test needs cron to run
bzr revid: mat@openerp.com-20140416153153-f6r85uc8ibztzvup
Diffstat (limited to 'addons/gamification/tests')
-rw-r--r--addons/gamification/tests/test_challenge.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/gamification/tests/test_challenge.py b/addons/gamification/tests/test_challenge.py
index 6b93da727ac..cdbca962e0f 100644
--- a/addons/gamification/tests/test_challenge.py
+++ b/addons/gamification/tests/test_challenge.py
@@ -57,6 +57,7 @@ class test_challenge(common.TransactionCase):
'groups_id': [(6, 0, [self.group_user_id])]
}, {'no_reset_password': True})
+ self.challenge_obj._update_all(cr, uid, [self.challenge_base_id], context=context)
challenge = self.challenge_obj.browse(cr, uid, self.challenge_base_id, context=context)
self.assertGreaterEqual(len(challenge.user_ids), len(user_ids)+1, "These are not droids you are looking for")