Skip to content
Snippets Groups Projects
Commit 5e0a5ef5 authored by Yannick DAYER's avatar Yannick DAYER
Browse files

Fix names of annotators and testing_utils

parent 78e05842
No related branches found
No related tags found
1 merge request!58refactor for bob.bio.base!300
Pipeline #67694 failed
......@@ -6,9 +6,10 @@ import pkg_resources
import bob.bio.video
import bob.io.base
from bob.bio.face.test.test_annotators import _assert_mtcnn
from bob.bio.video.test.dummy.database import DummyBioFile
from .test_annotators import _assert_mtcnn
class FailSucessAnnotator(bob.bio.base.annotator.Annotator):
"""An annotator that fails for every second time it is called."""
......@@ -31,7 +32,7 @@ class FailSucessAnnotator(bob.bio.base.annotator.Annotator):
def test_wrapper():
original_path = pkg_resources.resource_filename("bob.bio.face.test", "")
original_path = pkg_resources.resource_filename(__name__, "")
image_files = DummyBioFile(
client_id=1,
file_id=1,
......
......@@ -7,10 +7,11 @@ import numpy as np
import bob.bio.video
from bob.bio.base.test.utils import is_library_available
from bob.io.base.test_utils import datafile
from bob.io.base.testing_utils import datafile
from bob.io.image import to_bob
from .utils import is_library_available
regenerate_refs = False
......
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