Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
elasticsearch
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cubicweb
cubes
elasticsearch
Commits
3f2e16ec343d
Commit
3f2e16ec343d
authored
1 year ago
by
Laurent Peuch
Browse files
Options
Downloads
Patches
Plain Diff
chore: run teyit on tests
parent
e937ad59fac6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!66
chore: run teyit on tests
Pipeline
#187552
passed
1 year ago
Stage: lint
Stage: tests
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/test_ifulltextadapter.py
+2
-2
2 additions, 2 deletions
test/test_ifulltextadapter.py
with
2 additions
and
2 deletions
test/test_ifulltextadapter.py
+
2
−
2
View file @
3f2e16ec
...
...
@@ -64,7 +64,7 @@
(
"
title
"
,
"
program
"
),
):
self
.
assertEqual
(
kwargs
[
"
body
"
][
arg_name
],
expected_value
)
self
.
assert
False
(
"
content_format
"
in
kwargs
[
"
body
"
])
self
.
assert
NotIn
(
"
content_format
"
,
kwargs
[
"
body
"
])
# update BlogEntry
bentry
.
cw_set
(
title
=
"
Programme
"
)
index
.
reset_mock
()
...
...
@@ -82,7 +82,7 @@
(
"
title
"
,
"
Programme
"
),
):
self
.
assertEqual
(
kwargs
[
"
body
"
][
arg_name
],
expected_value
)
self
.
assert
False
(
"
content_format
"
in
kwargs
[
"
body
"
])
self
.
assert
NotIn
(
"
content_format
"
,
kwargs
[
"
body
"
])
@patch
(
"
elasticsearch.client.indices.IndicesClient.create
"
)
@patch
(
"
elasticsearch.client.indices.IndicesClient.exists
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment