Commit 382e2726 authored by Yusei Tahara's avatar Yusei Tahara

Remove todo_erp5 from test_complex_query to show a failure.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28812 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 04284d86
...@@ -2307,17 +2307,7 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor): ...@@ -2307,17 +2307,7 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
query = ComplexQuery(query_find_european, query = ComplexQuery(query_find_european,
query_find_name_erp5, query_find_name_erp5,
operator='OR') operator='OR')
self.assertEqual(len(catalog(query=query)), 3)
@todo_erp5
def todo():
"""
This test is expected to fail with current code.
Adding support for this is required, and is not trivial.
Hence, mark it as TODO to silence this always-failing test.
"""
self.assertEqual(len(catalog(query=query)), 3)
todo()
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