Commit e4214c36 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Adopt the tests as well

parent 34dc0447
Pipeline #14495 canceled with stages
in 1 minute and 14 seconds
......@@ -33,11 +33,10 @@ def test_frames():
protocol = 'experiment_1'
db.protocol = protocol
if db.original_directory == '[UVAD_DIRECTORY]':
if db.original_directory is None:
raise nose.SkipTest(
"Please update '[UVAD_DIRECTORY]' in your "
"'~/.bob_bio_databases.txt' to point to the directory where the "
"database's raw data are. This way we can test more features of "
"the database interface.")
"Please configure bob.db.uvad (refer to package documentation) to "
"point to the directory where the database's raw data are. This "
"way we can test more features of the database interface.")
padfile = db.all_files(('train', 'dev'))[0][0]
assert db.number_of_frames(padfile) == 270, db.number_of_frames(padfile)
Supports Markdown
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