From e74ef6cfb9ea1b6e4e08582bd2202e13e96ca64d Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Thu, 9 Nov 2017 19:44:38 +0100 Subject: [PATCH] [FIX] test_performance: bump query count Recent changes in tracking fields add a new query. Adapt tests. --- odoo/addons/test_performance/tests/test_performance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/odoo/addons/test_performance/tests/test_performance.py b/odoo/addons/test_performance/tests/test_performance.py index b2f398f5a71..5e1d5058046 100644 --- a/odoo/addons/test_performance/tests/test_performance.py +++ b/odoo/addons/test_performance/tests/test_performance.py @@ -141,7 +141,7 @@ class TestPerformance(TransactionCase): records.write({'value': self.int(20)}) - @queryCount(admin=19, demo=29) + @queryCount(admin=20, demo=30) def test_write_mail_with_tracking(self): """ Write records inheriting from 'mail.thread' (with field tracking). """ record = self.env['test_performance.mail'].search([], limit=1) @@ -180,7 +180,7 @@ class TestPerformance(TransactionCase): model = self.env['test_performance.mail'] model.with_context(tracking_disable=True).create({'name': self.str('X')}) - @queryCount(admin=37, demo=53) + @queryCount(admin=38, demo=54) def test_create_mail_with_tracking(self): """ Create records inheriting from 'mail.thread' (with field tracking). """ model = self.env['test_performance.mail']