Commit 4044923a authored by Yusuke Muraoka's avatar Yusuke Muraoka

simplify. thanks nicolas.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33158 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c4f880ae
...@@ -2351,15 +2351,10 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor): ...@@ -2351,15 +2351,10 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
operator='AND') operator='AND')
self.assertEqual(len(catalog(query=query_find_name_erp5)), 2) self.assertEqual(len(catalog(query=query_find_name_erp5)), 2)
try: self.assertRaises(NotImplementedError,
query = ComplexQuery(query_find_european, lambda : ComplexQuery(query_find_european,
query_find_name_erp5, query_find_name_erp5,
operator='OR') operator='OR'))
except NotImplementedError:
# correct behaviour for now
raise
else:
self.fail("In this query pattern, ComplexQuery doesn't return valid result.")
def test_check_security_table_content(self, quiet=quiet, run=run_all_test): def test_check_security_table_content(self, quiet=quiet, run=run_all_test):
sql_connection = self.getSQLConnection() sql_connection = self.getSQLConnection()
......
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