diff --git a/product/ERP5Catalog/tests/testERP5Catalog.py b/product/ERP5Catalog/tests/testERP5Catalog.py index 95a773c657589b300e180e86ee4daa701ef09718..efe21ae0a7ae85c0c130306462f92493e3a46b9c 100644 --- a/product/ERP5Catalog/tests/testERP5Catalog.py +++ b/product/ERP5Catalog/tests/testERP5Catalog.py @@ -1338,7 +1338,7 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor): self._makeOrganisation(title='abc%s' % (i), description='abc') self.assertEqual(max_, len(self.getCatalogTool()(portal_type='Organisation'))) - self.assertEqual(max + 2, + self.assertEqual(max_ + 2, len(self.getCatalogTool()(portal_type='Organisation', limit=None))) ctool.default_result_limit = old_default_result_limit