Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hamza
erp5-Boxiang
Commits
e79dec66
Commit
e79dec66
authored
Oct 24, 2014
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: update for recent erp5_full_text_mroonga_catalog.
parent
a82d8ffa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
product/ERP5OOo/tests/testDms.py
product/ERP5OOo/tests/testDms.py
+4
-4
No files found.
product/ERP5OOo/tests/testDms.py
View file @
e79dec66
...
@@ -1155,13 +1155,13 @@ class TestDocument(TestDocumentMixin):
...
@@ -1155,13 +1155,13 @@ class TestDocument(TestDocumentMixin):
self
.
assertSameSet
([
document_1
,
web_page_1
],
getAdvancedSearchStringResultList
(
**
kw
))
self
.
assertSameSet
([
document_1
,
web_page_1
],
getAdvancedSearchStringResultList
(
**
kw
))
# exact word search
# exact word search
kw
=
{
'searchabletext_any'
:
'
*
'
,
kw
=
{
'searchabletext_any'
:
''
,
'searchabletext_phrase'
:
'linux python'
}
'searchabletext_phrase'
:
'linux python'
}
self
.
assertSameSet
([
document_1
],
getAdvancedSearchStringResultList
(
**
kw
))
self
.
assertSameSet
([
document_1
],
getAdvancedSearchStringResultList
(
**
kw
))
kw
=
{
'searchabletext_any'
:
'
*
'
,
kw
=
{
'searchabletext_any'
:
''
,
'searchabletext_phrase'
:
'python linux'
}
'searchabletext_phrase'
:
'python linux'
}
self
.
assertSameSet
([
document_2
],
getAdvancedSearchStringResultList
(
**
kw
))
self
.
assertSameSet
([
document_2
],
getAdvancedSearchStringResultList
(
**
kw
))
kw
=
{
'searchabletext_any'
:
'
*
'
,
kw
=
{
'searchabletext_any'
:
''
,
'searchabletext_phrase'
:
'python linux knowledge system'
}
'searchabletext_phrase'
:
'python linux knowledge system'
}
self
.
assertSameSet
([
document_2
],
getAdvancedSearchStringResultList
(
**
kw
))
self
.
assertSameSet
([
document_2
],
getAdvancedSearchStringResultList
(
**
kw
))
...
@@ -1243,7 +1243,7 @@ class TestDocument(TestDocumentMixin):
...
@@ -1243,7 +1243,7 @@ class TestDocument(TestDocumentMixin):
# should return all documents matching a word no matter of contributor
# should return all documents matching a word no matter of contributor
self
.
assertSameSet
([
web_page_1
,
document_4
],
getAdvancedSearchStringResultList
(
**
kw
))
self
.
assertSameSet
([
web_page_1
,
document_4
],
getAdvancedSearchStringResultList
(
**
kw
))
kw
=
{
'searchabletext_any'
:
'owner'
,
kw
=
{
'searchabletext_any'
:
'owner'
,
'contributor_title'
:
'
%Contributor%
'
}
'contributor_title'
:
'
Contributor
'
}
self
.
assertSameSet
([
document_4
],
getAdvancedSearchStringResultList
(
**
kw
))
self
.
assertSameSet
([
document_4
],
getAdvancedSearchStringResultList
(
**
kw
))
# multiple portal_type specified
# multiple portal_type specified
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment