Commit 4fb13671 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

full text: update testERP5Catalog.

parent e2a44469
...@@ -2105,7 +2105,7 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor): ...@@ -2105,7 +2105,7 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
# description is not a keyword by default. (This might change in the # description is not a keyword by default. (This might change in the
# future, in this case, this test have to be updated) # future, in this case, this test have to be updated)
self.assertSameSet([doc], [x.getObject() for x in self.assertSameSet([doc], [x.getObject() for x in
ctool(portal_type='Organisation', description='Foo')]) ctool(portal_type='Organisation', description='=Foo')])
self.assertEqual({doc, other_doc}, {x.getObject() for x in self.assertEqual({doc, other_doc}, {x.getObject() for x in
ctool(portal_type='Organisation', description=dict(query='Foo', ctool(portal_type='Organisation', description=dict(query='Foo',
key='Keyword'))}) key='Keyword'))})
......
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