Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.bio.face
Commits
dd96ab29
Commit
dd96ab29
authored
Jun 22, 2015
by
Manuel Günther
Browse files
Adapted test for the FRGC database
parent
c9d3f005
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/face/test/test_databases.py
View file @
dd96ab29
...
...
@@ -96,13 +96,14 @@ def test_caspeal():
def
test_frgc
():
import
xml.sax
database
=
bob
.
bio
.
base
.
load_resource
(
'frgc'
,
'database'
)
try
:
database
=
bob
.
bio
.
base
.
load_resource
(
'frgc'
,
'database'
)
except
ValueError
as
e
:
_check_database
(
database
,
models_depend
=
True
)
_check_database
(
database
,
protocol
=
'2.0.2'
,
models_depend
=
True
)
_check_annotations
(
database
)
except
xml
.
sax
.
SAXException
as
e
:
raise
SkipTest
(
"The database could not be opened, probably the original directory is wrong. Here is the value error: '%s'"
%
e
)
_check_database
(
database
,
models_depend
=
True
)
_check_database
(
database
,
protocol
=
'2.0.2'
,
models_depend
=
True
)
_check_annotations
(
database
)
def
test_gbu
():
...
...
@@ -144,7 +145,6 @@ def test_mobio():
def
test_multipie
():
# raise SkipTest('This test definitely takes too much time. If you want the tests enabled, please disable this exception temporarily.')
database
=
bob
.
bio
.
base
.
load_resource
(
'multipie'
,
'database'
)
try
:
_check_database_zt
(
database
,
training_depends
=
True
)
...
...
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