Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.bio.base
Commits
72cf1923
Commit
72cf1923
authored
May 03, 2018
by
Theophile GENTILHOMME
Browse files
Fix tests
parent
44e531de
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/base/test/test_commands.py
View file @
72cf1923
...
...
@@ -32,7 +32,7 @@ def test_metrics():
with
runner
.
isolated_filesystem
():
result
=
runner
.
invoke
(
commands
.
metrics
,
[
'-l'
,
'tmp'
,
'-
Z
'
,
'A,B'
,
commands
.
metrics
,
[
'-l'
,
'tmp'
,
'-
lg
'
,
'A,B'
,
dev1
,
test1
,
dev2
,
test2
]
)
assert
result
.
exit_code
==
0
,
(
result
.
exit_code
,
result
.
output
)
...
...
@@ -199,7 +199,7 @@ def test_hist():
with
runner
.
isolated_filesystem
():
result
=
runner
.
invoke
(
commands
.
hist
,
[
'--criterion'
,
'eer'
,
'--output'
,
'HISTO.pdf'
,
'-b'
,
'30'
,
'-
Z
'
,
'A,B'
,
dev1
,
test1
,
dev2
,
'-
lg
'
,
'A,B'
,
dev1
,
test1
,
dev2
,
test2
])
if
result
.
output
:
click
.
echo
(
result
.
output
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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