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.face
Commits
792b1fe9
Commit
792b1fe9
authored
Oct 12, 2015
by
Manuel Günther
Browse files
Made test cases less verbose
parent
e8fcab5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/face/test/test_scripts.py
View file @
792b1fe9
...
...
@@ -6,18 +6,19 @@ def test_baselines():
# test that all of the baselines would execute
from
bob.bio.face.script.baselines
import
available_databases
,
all_algorithms
,
main
for
database
in
available_databases
:
parameters
=
[
'-d'
,
database
,
'--dry-run'
,
'-vv'
]
main
(
parameters
)
parameters
.
append
(
'--grid'
)
main
(
parameters
)
parameters
.
extend
([
'-e'
,
'HTER'
])
main
(
parameters
)
with
bob
.
bio
.
base
.
test
.
utils
.
Quiet
():
for
database
in
available_databases
:
parameters
=
[
'-d'
,
database
,
'--dry-run'
]
main
(
parameters
)
parameters
.
append
(
'--grid'
)
main
(
parameters
)
parameters
.
extend
([
'-e'
,
'HTER'
])
main
(
parameters
)
for
algorithm
in
all_algorithms
:
parameters
=
[
'-a'
,
algorithm
,
'--dry-run'
,
'-vv'
]
main
(
parameters
)
parameters
.
append
(
'-g'
)
main
(
parameters
)
parameters
.
extend
([
'-e'
,
'HTER'
])
main
(
parameters
)
for
algorithm
in
all_algorithms
:
parameters
=
[
'-a'
,
algorithm
,
'--dry-run'
]
main
(
parameters
)
parameters
.
append
(
'-g'
)
main
(
parameters
)
parameters
.
extend
([
'-e'
,
'HTER'
])
main
(
parameters
)
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