Commit 83fc5908 authored by Jérome Perrin's avatar Jérome Perrin

update test after r21285


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21456 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 52e6c9d6
...@@ -940,7 +940,9 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor): ...@@ -940,7 +940,9 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
# this key. # this key.
logged_errors = [ logrecord for logrecord in self.logged logged_errors = [ logrecord for logrecord in self.logged
if logrecord[0] == 'SQLCatalog' ] if logrecord[0] == 'SQLCatalog' ]
self.failUnless( 'could not build sort index' in logged_errors[0][2]) self.failUnless( 'this key is too ambiguous : start_date'
in logged_errors[0][2])
self.failUnless( 'could not build sort index' in logged_errors[1][2])
# of course, in that case, it's possible to prefix with table name # of course, in that case, it's possible to prefix with table name
self.assertEquals('delivery.start_date', self.assertEquals('delivery.start_date',
......
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