summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2017-11-09 19:44:38 +0100
committerChristophe Simonis <chs@odoo.com>2017-11-09 19:44:38 +0100
commite74ef6cfb9ea1b6e4e08582bd2202e13e96ca64d (patch)
treed6cce6f9a09f16f00fdbe7e055b62be6137e9a4a
parentde93645fe3c85883d2f08677afad51456815fa6e (diff)
[FIX] test_performance: bump query count
Recent changes in tracking fields add a new query. Adapt tests.
-rw-r--r--odoo/addons/test_performance/tests/test_performance.py4
1 files 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']