Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
bob
bob.bio.base
Merge requests
!35
Config file
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Config file
config_file
into
master
Overview
7
Commits
10
Pipelines
1
Changes
1
1 unresolved thread
Hide all comments
Merged
Manuel Günther
requested to merge
config_file
into
master
8 years ago
Overview
7
Commits
10
Pipelines
1
Changes
1
1 unresolved thread
Hide all comments
Expand
Fixes
#28 (closed)
0
0
Merge request reports
Viewing commit
bfd4ae32
Prev
Next
Show latest version
1 file
+
2
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
bfd4ae32
Better fix w/o leaving something untested
· bfd4ae32
André Anjos
authored
8 years ago
bob/bio/base/test/test_config_file.py
+
2
−
0
Options
@@ -54,6 +54,8 @@ def check_parameters(args_file, args_cmdline):
if
(
isinstance
(
attr_file
,
(
bool
,
str
,
int
,
list
)))
or
(
attr_file
is
None
):
assert
attr_cmdline
==
attr_file
,
'
(%s) %r != %r
'
%
\
(
attr
,
attr_cmdline
,
attr_file
)
else
:
assert
False
,
'
(%s) %r == %r?
'
%
(
attr
,
attr_cmdline
,
attr_file
)
def
test_basic
():
Loading