Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
python-handel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
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
Bliss
python-handel
Commits
1bf1bb85
Commit
1bf1bb85
authored
Aug 30, 2017
by
Vincent Michel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove DEFAULTS from config
parent
71af3f54
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
handel/interface.py
handel/interface.py
+1
-1
tests/test_interface.py
tests/test_interface.py
+1
-0
No files found.
handel/interface.py
View file @
1bf1bb85
...
...
@@ -366,4 +366,4 @@ def get_config(filename):
config
=
configparser
.
ConfigParser
(
comment_prefixes
=
[
'START'
,
'END'
,
'#'
,
'*****'
])
config
.
read
(
filename
)
return
{
key
:
dict
(
section
)
for
section
in
config
.
item
s
()}
return
{
section
:
dict
(
config
[
section
])
for
section
in
config
.
section
s
()}
tests/test_interface.py
View file @
1bf1bb85
...
...
@@ -468,3 +468,4 @@ def test_get_config(interface):
filename
=
interface
.
get_config_files
(
'.'
)[
0
]
d
=
interface
.
get_config
(
filename
)
assert
d
[
'detector definitions'
][
'alias'
]
==
'detector1'
assert
'DEFAULT'
not
in
d
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