Commit 80eb9358 authored by Ivan Tyagov's avatar Ivan Tyagov

Test is expected to pass.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42659 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9dc0b57c
...@@ -846,7 +846,6 @@ class TestDocument(TestDocumentMixin): ...@@ -846,7 +846,6 @@ class TestDocument(TestDocumentMixin):
web_page.getReference(), web_page.getReference(),
web_page.getLanguage(), web_page.getLanguage(),
web_page.getVersion()))) web_page.getVersion())))
@expectedFailure
def test_10_SearchString(self): def test_10_SearchString(self):
""" """
Test search string search generation and parsing. Test search string search generation and parsing.
...@@ -1016,7 +1015,7 @@ class TestDocument(TestDocumentMixin): ...@@ -1016,7 +1015,7 @@ class TestDocument(TestDocumentMixin):
# parse with multiple portal_type containing spaces in one portal_type # parse with multiple portal_type containing spaces in one portal_type
search_string = 'erp5 AND (portal_type:Document OR portal_type:Presentation OR portal_type:"Web Page")' search_string = 'erp5 AND (portal_type:Document OR portal_type:Presentation OR portal_type:"Web Page")'
parsed_string = parse(search_string) parsed_string = parse(search_string)
self.assertEquals(parsed_string['portal_type'], ['Document','Presentation','Web Page']) self.assertEquals(parsed_string['portal_type'], ['Document','Presentation','"Web Page"'])
@expectedFailure @expectedFailure
def test_11_Base_getAdvancedSearchResultList(self): def test_11_Base_getAdvancedSearchResultList(self):
......
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