[FIX] website_blog: change number of query expected in test

Since [this other commit], the performance test of the blog may use
less queries than before. This commit change the test to update the
number of expected queries.

[this other commit]: https://github.com/odoo/odoo/commit/7466ecd400bd27e4b612a5fcbdd779f34301982a

runbot-54860

closes odoo/odoo#149839

Signed-off-by: Romain Derie (rde) <rde@odoo.com>
This commit is contained in:
Guillaume-gdi
2024-01-18 12:01:05 +00:00
parent 29a8093b16
commit 3467aa5927
@@ -39,7 +39,7 @@ class TestBlogPerformance(UtilPerf):
} for blog in blogs])
def test_10_perf_sql_blog_standard_data(self):
self.assertEqual(self._get_url_hot_query('/blog'), 11)
self.assertLessEqual(self._get_url_hot_query('/blog'), 11)
self.assertLessEqual(self._get_url_hot_query('/blog', cache=False), 23)
def test_20_perf_sql_blog_bigger_data_scaling(self):