[FIX] test_mail: bump query count

For unknown reason (I didn't manage to find the culprit), the previous
forward-port generate more queries than before.
This commit is contained in:
Christophe Simonis
2019-06-17 18:27:28 +02:00
parent 0da246ef55
commit 618ea1ab67
+1 -1
View File
@@ -751,7 +751,7 @@ class TestMailPerformancePost(TransactionCase):
]
self.attachements = self.env['ir.attachment'].sudo(self.env.user).create(self.vals) #-> 163-> 165 query
attachement_ids = self.attachements.ids
with self.assertQueryCount(emp=163): # com runbot 156 // test_mail only: 133
with self.assertQueryCount(emp=175): # com runbot 156 // test_mail only: 133
self.cr.sql_log = self.warm and self.cr.sql_log_count
record.with_context({}).message_post(
body='<p>Test body <img src="cid:cid1"> <img src="cid:cid2"></p>',