Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
force-bdss
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Adham Hashibon
force-bdss
Merge requests
!45
Added support for MCO named parameters.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Added support for MCO named parameters.
mco_parameters
into
master
Overview
1
Commits
30
Pipelines
0
Changes
29
Merged
Adham Hashibon
requested to merge
mco_parameters
into
master
7 years ago
Overview
1
Commits
30
Pipelines
0
Changes
29
Expand
Created by: stefanoborini
Introduces the MCO Parameter classes with support for naming
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
1353c482
30 commits,
6 years ago
29 files
+
457
−
29
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
29
Search (e.g. *.vue) (Ctrl+P)
force_bdss/cli/tests/test_execution.py
+
10
−
0
Options
@@ -28,6 +28,16 @@ class TestExecution(unittest.TestCase):
out
=
subprocess
.
check_call
([
"
force_bdss
"
,
"
test_csv.json
"
])
self
.
assertEqual
(
out
,
0
)
def
test_plain_invocation_evaluate
(
self
):
with
cd
(
fixtures
.
dirpath
()):
proc
=
subprocess
.
Popen
([
"
force_bdss
"
,
"
--evaluate
"
,
"
test_csv.json
"
],
stdin
=
subprocess
.
PIPE
,
stdout
=
subprocess
.
PIPE
)
proc
.
communicate
(
b
"
1
"
)
retcode
=
proc
.
wait
()
self
.
assertEqual
(
retcode
,
0
)
def
test_unsupported_file_input
(
self
):
with
cd
(
fixtures
.
dirpath
()):
with
self
.
assertRaises
(
subprocess
.
CalledProcessError
):
Loading