Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.video
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.bio.video
Commits
5e0a5ef5
Commit
5e0a5ef5
authored
2 years ago
by
Yannick DAYER
Browse files
Options
Downloads
Patches
Plain Diff
Fix names of annotators and testing_utils
parent
78e05842
No related branches found
No related tags found
1 merge request
!58
refactor for bob.bio.base!300
Pipeline
#67694
failed
2 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bob/bio/video/test/test_annotators.py
+3
-2
3 additions, 2 deletions
bob/bio/video/test/test_annotators.py
bob/bio/video/test/test_utils.py
+3
-2
3 additions, 2 deletions
bob/bio/video/test/test_utils.py
with
6 additions
and
4 deletions
bob/bio/video/test/test_annotators.py
+
3
−
2
View file @
5e0a5ef5
...
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
bob/bio/video/test/test_utils.py
+
3
−
2
View file @
5e0a5ef5
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment