Skip to content
Snippets Groups Projects
Commit 59ae733a authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

[test][multipie] skip tests if annotation directory is None

parent 1dcad1e0
No related branches found
No related tags found
1 merge request!82Cleanup
......@@ -159,6 +159,8 @@ def test_multipie():
"The database could not queried; probably the protocol is missing inside the db.sql3 file. Here is the error: '%s'" % e)
try:
if database.database.annotation_directory is None:
raise SkipTest("The annotation directory is not set")
_check_annotations(database)
except IOError as e:
raise SkipTest(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment