[Erp5-report] r33669 gregory - /erp5/trunk/products/ZSQLCatalog/tests/testSQLCatalog.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Mar 11 17:49:41 CET 2010
Author: gregory
Date: Thu Mar 11 17:49:40 2010
New Revision: 33669
URL: http://svn.erp5.org?rev=33669&view=rev
Log:
Add a test for r33656.
Modified:
erp5/trunk/products/ZSQLCatalog/tests/testSQLCatalog.py
Modified: erp5/trunk/products/ZSQLCatalog/tests/testSQLCatalog.py
URL: http://svn.erp5.org/erp5/trunk/products/ZSQLCatalog/tests/testSQLCatalog.py?rev=33669&r1=33668&r2=33669&view=diff
==============================================================================
--- erp5/trunk/products/ZSQLCatalog/tests/testSQLCatalog.py [utf8] (original)
+++ erp5/trunk/products/ZSQLCatalog/tests/testSQLCatalog.py [utf8] Thu Mar 11 17:49:40 2010
@@ -507,6 +507,9 @@
"""
self.catalog(ReferenceQuery(ReferenceQuery(operator='match_boolean', fulltext='a+b'), operator='and'),
{'fulltext': 'a+b'})
+ self.catalog(ReferenceQuery(ReferenceQuery( ReferenceQuery(operator='=', uid='foo'),
+ ReferenceQuery(operator='match_boolean', fulltext='+a b'), operator='and'
+ ), operator='and'), {'fulltext': '+a b uid:foo'})
def test_DefaultKeyTextRendering(self):
self.catalog(ReferenceQuery(ReferenceQuery(operator='like', default='a% b'), operator='and'),
More information about the Erp5-report
mailing list