Commit 528d066f authored by Sebastien Robin's avatar Sebastien Robin

the sql request has changed a bit

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15972 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7f13f463
......@@ -1801,7 +1801,7 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
'format':'1 234.12',
'type':'float'}}
sql_src = self.getCatalogTool()(src__=1,**catalog_kw)
self.failUnless('TRUNCATE(catalog.uid,2) = 2567.54' in sql_src)
self.failUnless("TRUNCATE(catalog.uid,2) = '2567.54'" in sql_src)
def test_SearchOnOwner(self):
# owner= can be used a search key in the catalog to have all documents for
......
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