Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.bio.video
Commits
8c4ffb50
Commit
8c4ffb50
authored
Dec 16, 2015
by
Manuel Günther
Browse files
Changed database test to new API (compatible with old API)
parent
6776c4a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/video/test/test_databases.py
View file @
8c4ffb50
...
...
@@ -29,7 +29,7 @@ def _check_database(database, groups = ('dev',), protocol = None, training_depen
if
protocol
:
database
.
protocol
=
protocol
assert
len
(
database
.
all_files
())
>
0
assert
len
(
database
.
training_files
(
'train_extractor'
))
>
0
assert
len
(
database
.
training_files
(
'train_enroller'
,
arrange_by_client
=
True
))
>
0
assert
len
(
database
.
arrange_by_client
(
database
.
training_files
(
'train_enroller'
)
))
>
0
for
group
in
groups
:
model_ids
=
database
.
model_ids
(
group
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment