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.pad.base
Commits
f89f32c9
Commit
f89f32c9
authored
Jun 21, 2018
by
Theophile GENTILHOMME
Browse files
[test][test_commands] Adapt test to new nbins option behavior
parent
2e9eed11
Pipeline
#21237
passed with stage
in 21 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/pad/base/test/test_commands.py
View file @
f89f32c9
...
...
@@ -83,7 +83,7 @@ def test_hist_pad():
result
=
runner
.
invoke
(
pad_commands
.
hist
,
[
'--criterion'
,
'min-hter'
,
'--output'
,
'HISTO.pdf'
,
'-b'
,
'30,20
,60,10
'
,
'30,20'
,
licit_dev
,
spoof_dev
])
assert
result
.
exit_code
==
0
,
(
result
.
exit_code
,
result
.
output
)
...
...
@@ -115,6 +115,15 @@ def test_hist_vuln():
spoof_dev
,
spoof_test
])
assert
result
.
exit_code
==
0
,
(
result
.
exit_code
,
result
.
output
)
with
runner
.
isolated_filesystem
():
result
=
runner
.
invoke
(
vuln_commands
.
hist
,
[
'--criterion'
,
'eer'
,
'--output'
,
'HISTO.pdf'
,
'-b'
,
'2,20,30'
,
licit_dev
,
licit_test
,
spoof_dev
,
spoof_test
])
assert
result
.
exit_code
==
0
,
(
result
.
exit_code
,
result
.
output
)
def
test_metrics_vuln
():
...
...
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