Commit 4a785e92 authored by Manuel Günther's avatar Manuel Günther
Browse files

Added preferred_package option to bob.bio.base.load_resource calls in tests

parent 6d836fbe
......@@ -54,7 +54,7 @@ def _check_database_zt(database, groups = ('dev', 'eval'), protocol = None, trai
def test_mobio():
database = bob.bio.base.load_resource('mobio-video', 'database')
database = bob.bio.base.load_resource('mobio-video', 'database', preferred_package='bob.bio.video')
try:
_check_database_zt(database, models_depend=True)
_check_database_zt(database, protocol = 'female', models_depend=True)
......@@ -62,7 +62,7 @@ def test_mobio():
raise SkipTest("The database could not be queried; probably the db.sql3 file is missing. Here is the import error: '%s'" % e)
def test_youtube():
database = bob.bio.base.load_resource('youtube', 'database')
database = bob.bio.base.load_resource('youtube', 'database', preferred_package='bob.bio.video')
try:
_check_database(database, training_depends=True, models_depend=True)
_check_database(database, protocol = 'fold7', training_depends=True, models_depend=True)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment