Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ChEMBL
C
ChEMBL
Main Web Interface
Elasticsearch Proxy API
Commits
d0072eac
Commit
d0072eac
authored
Sep 28, 2021
by
David Mendez
Browse files
Make pylint happy
parent
4d59e04c
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/eubopen/search/suggestions/suggestions.py
app/eubopen/search/suggestions/suggestions.py
+1
-1
utils/test/test_dict_property_access.py
utils/test/test_dict_property_access.py
+1
-1
No files found.
app/eubopen/search/suggestions/suggestions.py
View file @
d0072eac
...
...
@@ -3,8 +3,8 @@ Module with the functions to generate suggestions for eubopen
"""
from
app.es_data
import
es_data
from
app.config
import
RUN_CONFIG
from
utils
import
dict_property_access
from
app.properties_configuration
import
properties_configuration_manager
from
utils
import
dict_property_access
def
get_suggestions_for_term
(
term
):
...
...
utils/test/test_dict_property_access.py
View file @
d0072eac
...
...
@@ -45,7 +45,7 @@ class TestDictPropertyAccess(unittest.TestCase):
self
.
assertEqual
(
value_must_be
,
value_got
,
msg
=
f
'The value of
{
prop_path
}
was not obtained correctly!'
)
def
test_gets_
nested_
property
(
self
):
def
test_gets_propert
y_in_arra
y
(
self
):
"""
Tests that it gets a nested property
"""
...
...
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