summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-01-03 12:58:34 +0100
committerChristophe Simonis <chs@odoo.com>2018-01-03 12:58:34 +0100
commitde2de75589ff7d9e7dcabb09ab13f7c422242e4e (patch)
treef55c4d06076cb47bcb5aa91dc475cecaee64eddf
parent362f0489d07d5bcd3673278e93848d0ea3d177a8 (diff)
[FIX] test_mail: bump query count
-rw-r--r--addons/test_mail/tests/test_performance.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/test_mail/tests/test_performance.py b/addons/test_mail/tests/test_performance.py
index 1ca37543386..cc8b1d41835 100644
--- a/addons/test_mail/tests/test_performance.py
+++ b/addons/test_mail/tests/test_performance.py
@@ -83,7 +83,7 @@ class TestMailPerformance(TestPerformance):
model = self.env['test_performance.mail']
model.create({'name': self.str('Y')})
- @queryCount(admin=22, emp=29)
+ @queryCount(admin=33, emp=40)
def test_simple(self):
""" Create records inheriting from 'mail.thread' (simple models) """
self.env['mail.test.simple'].create({'name': self.str('Test')})
@@ -111,11 +111,11 @@ class TestAdvMailPerformance(TestPerformance):
self.admin = self.env.user
self.admin.login = 'admin'
- @queryCount(admin=25, emp=32)
+ @queryCount(admin=36, emp=43)
def test_activity(self):
self.env['mail.test.activity'].create({'name': self.str('Test')})
- @queryCount(admin=46, emp=51)
+ @queryCount(admin=57, emp=62)
def test_activity_full(self):
test_record_activity = self.env['mail.test.activity'].create({'name': self.str('Test')})
res_id = test_record_activity.id