summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-10-19 16:13:05 +0200
committerChristophe Simonis <chs@odoo.com>2018-10-19 16:13:05 +0200
commitd4c343588fa718bb43ad92a523a39b9b76d0cede (patch)
tree89c2d658b0cfc900a24d46833630c38ec446270f
parent0fcb28c97b220c6d1f05c0b4aa8276d54e004457 (diff)
[FIX] test_mail: bump query count margin
Needed to make test pass with `mail_push` (enterprise module) installed.
-rw-r--r--addons/test_mail/tests/test_performance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/test_mail/tests/test_performance.py b/addons/test_mail/tests/test_performance.py
index d438d1f91b0..8954009188f 100644
--- a/addons/test_mail/tests/test_performance.py
+++ b/addons/test_mail/tests/test_performance.py
@@ -528,7 +528,7 @@ class TestHeavyMailPerformance(TransactionCase):
})
self.assertEqual(rec.message_partner_ids, self.user_portal.partner_id | self.env.user.partner_id)
- with self.assertQueryCount(margin=1, admin=129, emp=148): # com runbot: 129 - 148 // test_mail only: 129 - 148
+ with self.assertQueryCount(margin=2, admin=129, emp=148): # com runbot: 129 - 148 // test_mail only: 129 - 148
rec.write({
'name': 'Test2',
'umbrella_id': self.umbrella.id,