Commit 9944646a authored by Vincent Pelletier's avatar Vincent Pelletier

testSQLCatalog: Call method which actually handles sorting parameters.

parent 6a7501bc
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment