Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bliss
bliss
Commits
b44561dd
Commit
b44561dd
authored
Jul 01, 2021
by
Perceval Guillou
Browse files
fix linting
parent
09ca5913
Changes
2
Hide whitespace changes
Inline
Side-by-side
bliss/config/plugins/bliss_controller.py
View file @
b44561dd
...
...
@@ -8,7 +8,6 @@
from
importlib
import
import_module
from
bliss.config.plugins.utils
import
find_top_class_and_node
,
find_class_and_node
from
bliss.config.static
import
ConfigReference
,
ConfigNode
,
ConfigList
from
bliss.common.utils
import
autocomplete_property
def
find_sub_names_config
(
config
,
selection
=
None
,
level
=
0
,
parent_key
=
None
):
...
...
@@ -533,7 +532,7 @@ def create_objects_from_config_node(cfg_obj, cfg_node):
else
:
# prevent instantiation of an item comming from a top object that is not a ConfigItemContainer
raise
TypeError
(
f
"Object with subitems in config must be a ConfigItemContainer object"
"Object with subitems in config must be a ConfigItemContainer object"
)
...
...
tests/controllers/test_bliss_controller.py
View file @
b44561dd
...
...
@@ -435,8 +435,8 @@ def test_plugin_items_initialized_only_once(default_session):
for
objname
in
obj_list
:
default_session
.
config
.
get
(
objname
)
print
(
from_config_counts
)
print
(
from_cache_counts
)
#
print(from_config_counts)
#
print(from_cache_counts)
def
test_bliss_controller
(
default_session
):
...
...
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