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
2e9eed11
Commit
2e9eed11
authored
Jun 21, 2018
by
Theophile GENTILHOMME
Browse files
[test][test_commands] Fix tests with previous changes
parent
226901a9
Pipeline
#21230
passed with stage
in 24 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/pad/base/test/test_commands.py
View file @
2e9eed11
...
...
@@ -31,8 +31,8 @@ def test_det_vuln():
'data/spoof/scores-eval'
)
runner
=
CliRunner
()
with
runner
.
isolated_filesystem
():
result
=
runner
.
invoke
(
vuln_commands
.
det
,
[
'-
c
'
,
'
min-hter
'
,
'-
-output
'
,
result
=
runner
.
invoke
(
vuln_commands
.
det
,
[
'-
hla
'
,
'
0.2
'
,
'-
o
'
,
'DET.pdf'
,
licit_dev
,
licit_test
,
spoof_dev
,
spoof_test
])
...
...
@@ -83,7 +83,7 @@ def test_hist_pad():
result
=
runner
.
invoke
(
pad_commands
.
hist
,
[
'--criterion'
,
'min-hter'
,
'--output'
,
'HISTO.pdf'
,
'-b'
,
'30,
auto
'
,
'30,
20,60,10
'
,
licit_dev
,
spoof_dev
])
assert
result
.
exit_code
==
0
,
(
result
.
exit_code
,
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