Commit 7dd18f16 authored by Jérome Perrin's avatar Jérome Perrin

testQuotedStringKeywordKey was testing nothing due to error in parameters


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22218 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent eab87ae0
......@@ -378,7 +378,7 @@ class TestQuery(unittest.TestCase):
q.asSQLExpression())
def testQuotedStringKeywordKey(self):
q = Query(title='Foo d\'Ba', type='keyword')
q = Query(title='Foo d\'Ba', key='Keyword')
self.assertEquals(
dict(where_expression="((((title LIKE '%Foo d''Ba%'))))",
select_expression_list=[]),
......
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