summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/widgets/widgets.js
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2018-04-09 15:28:55 +0200
committerThibault Delavallée <tde@odoo.com>2018-04-09 16:52:12 +0200
commit3fe0ee5ae691e18e3512bbf55983c2fda765829d (patch)
tree6c77c822e426636084b283a91d3dc0f46cb238c8 /addons/web_editor/static/src/js/widgets/widgets.js
parent3bb498d696744c36b198c4da7cf428d643699aff (diff)
[IMP] tests: allow to add a margin on performance tests
Purpose of this commit is to avoid errors for some performance tests that have a slightly variable number of queries. Indeed some tests in test_mail module vary of 1 or 2 queries due to a behavior still not found that does not seem deterministic. This should not be considered as a real error, but should not be considered as completely valid. This is why a margin is accepted in some tests that will raise a warning instead of an error. This warning tells people to check if they have increased the query counter or if it is due to a random effect in query count.
Diffstat (limited to 'addons/web_editor/static/src/js/widgets/widgets.js')
0 files changed, 0 insertions, 0 deletions