diff --git a/product/ZSQLCatalog/tests/testSQLCatalog.py b/product/ZSQLCatalog/tests/testSQLCatalog.py index cc4d63fbd244570733a34ae94800dea074c53b42..3a7b809a4b0b67b900654334048b2c7679a7bbcb 100644 --- a/product/ZSQLCatalog/tests/testSQLCatalog.py +++ b/product/ZSQLCatalog/tests/testSQLCatalog.py @@ -227,7 +227,7 @@ class TestSQLCatalog(ERP5TypeTestCase): def catalog(self, reference_tree, kw, check_search_text=True, check_select_expression=True, expected_failure=False): reference_param_dict = self._catalog._queryResults(query_table='foo', **kw) - query = self._catalog.buildQuery(kw) + query = self._catalog.buildEntireQuery(kw).query assertEqual = self.assertEqual if expected_failure: assertEqual = unittest.expectedFailure(assertEqual)