Commit 7b5c4abd authored by Ivan Tyagov's avatar Ivan Tyagov

Fix test.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43303 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent be6721a0
...@@ -788,7 +788,7 @@ class TestDocument(TestDocumentMixin): ...@@ -788,7 +788,7 @@ class TestDocument(TestDocumentMixin):
getAdvancedSearchTextResultList('ScriptableKey')) getAdvancedSearchTextResultList('ScriptableKey'))
self.assertEqual(len(getAdvancedSearchTextResultList('RelatedKey')), 0) self.assertEqual(len(getAdvancedSearchTextResultList('RelatedKey')), 0)
self.assertSameSet([document_1, document_2], \ self.assertSameSet([document_1, document_2], \
getAdvancedSearchTextResultList('make')) getAdvancedSearchTextResultList('make', ('File',)))
self.assertSameSet([web_page, person], \ self.assertSameSet([web_page, person], \
getAdvancedSearchTextResultList("Great", ('Person', 'Web Page'))) getAdvancedSearchTextResultList("Great", ('Person', 'Web Page')))
# full text search with whole title of a document # full text search with whole title of a document
......
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