From d4c343588fa718bb43ad92a523a39b9b76d0cede Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Fri, 19 Oct 2018 16:13:05 +0200 Subject: [PATCH] [FIX] test_mail: bump query count margin Needed to make test pass with `mail_push` (enterprise module) installed. --- addons/test_mail/tests/test_performance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,