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

[tests][youtube_db] skip annotation tests if original_directory is not set

parent 67243900
......@@ -12,9 +12,6 @@ def test_youtube():
database =
"youtube", "database", preferred_package=""
database.database.original_directory = pkg_resources.resource_filename(
"", "test/data"
check_database_zt(database, training_depends=True, models_depend=True)
except IOError as e:
......@@ -23,6 +20,8 @@ def test_youtube():
% e
if database.database.original_directory is None:
raise SkipTest("The annotations cannot be queried as original_directory is None")
_check_annotations(database, limit_files=1000, topleft=True, framed=True)
except IOError as e:
raise SkipTest(
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