Commit 305b846f authored by Manuel Günther's avatar Manuel Günther
Browse files

Importing bob.measure after importing evaluate.py in test

parent 36438985
Pipeline #12014 failed with stages
in 10 minutes and 44 seconds
import bob.measure
import os
import shutil
import tempfile
......@@ -23,6 +20,7 @@ data_dir = pkg_resources.resource_filename('bob.bio.base', 'test/data')
def _verify(parameters, test_dir, sub_dir, ref_modifier="", score_modifier=('scores',''), counts=3, check_zt=True):
from bob.bio.base.script.verify import main
import bob.measure
try:
main(parameters)
......@@ -248,8 +246,9 @@ def test_verify_filelist():
'--preferred-package', 'bob.bio.base'
]
from bob.bio.base.script.verify import main
import bob.measure
try:
from bob.bio.base.script.verify import main
main(parameters)
# assert that the score file exists
......@@ -292,8 +291,9 @@ def test_verify_missing():
'--imports', 'bob.bio.base.test.dummy'
]
from bob.bio.base.script.verify import main
import bob.measure
try:
from bob.bio.base.script.verify import main
main(parameters)
# assert that the score file exists
......@@ -448,6 +448,7 @@ def test_fusion():
# execute the script
from bob.bio.base.script.fuse_scores import main
import bob.measure
try:
main(parameters)
......
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