Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
webservices
cern-search
cern-search-rest-api
Commits
312e949c
Commit
312e949c
authored
Feb 01, 2019
by
Pablo Panero
Browse files
tests: remove non-existing fields check from binary files test
parent
ec750d24
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test_binary_files.py
View file @
312e949c
...
...
@@ -65,6 +65,4 @@ def test_binary_es_ocr(endpoint, api_key):
content
=
resp_hits
[
'hits'
][
0
][
'metadata'
].
get
(
'content'
)
assert
content
is
not
None
assert
content
.
get
(
'content'
)
==
"Lorem ipsum dolor sit amet"
assert
content
.
get
(
'content_length'
)
==
28
assert
content
.
get
(
'content_type'
)
==
'application/rtf'
assert
content
.
get
(
'language'
)
==
'ro'
Write
Preview
Supports
Markdown
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