Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.measure
Commits
3e461f86
Commit
3e461f86
authored
Jun 05, 2018
by
Theophile GENTILHOMME
Browse files
[test_script] Test more options
parent
ae109d93
Pipeline
#20779
passed with stage
in 40 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/measure/test_script.py
View file @
3e461f86
...
...
@@ -56,6 +56,7 @@ def test_roc():
with
runner
.
isolated_filesystem
():
result
=
runner
.
invoke
(
commands
.
roc
,
[
'--split'
,
'--output'
,
'test.pdf'
,
'-ts'
,
'A,'
,
dev1
,
test1
,
dev2
,
test2
])
if
result
.
output
:
click
.
echo
(
result
.
output
)
...
...
@@ -113,6 +114,7 @@ def test_epc():
with
runner
.
isolated_filesystem
():
result
=
runner
.
invoke
(
commands
.
epc
,
[
'--output'
,
'test.pdf'
,
'--legends'
,
'A,B'
,
'--titles'
,
'TA,TB'
,
'-lc'
,
'upper-right'
,
dev1
,
test1
,
dev2
,
test2
])
if
result
.
output
:
...
...
@@ -143,7 +145,7 @@ def test_hist():
with
runner
.
isolated_filesystem
():
result
=
runner
.
invoke
(
commands
.
hist
,
[
'--criterion'
,
'eer'
,
'--output'
,
'HISTO.pdf'
,
'-b'
,
'30,20'
,
'-sp'
,
221
,
'-sp'
,
221
,
'-lg'
,
'A,B'
,
dev1
,
test1
,
dev2
,
test2
])
if
result
.
output
:
click
.
echo
(
result
.
output
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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