Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Amandine PERRIN
pipeline_annotation
Commits
5a60667c
Commit
5a60667c
authored
Dec 16, 2021
by
Amandine PERRIN
Browse files
Refseq can have several entries with same strain. Take into account in tests
parent
2b05be3b
Pipeline
#71601
failed with stages
in 6 minutes and 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/test_unit/test_prepare/test_download.py
View file @
5a60667c
...
...
@@ -357,7 +357,7 @@ def test_download_specify_strains_fromfile(caplog):
# Check path to uncompressed files is as expected
assert
db_dir
==
os
.
path
.
join
(
outdir
,
"Database_init"
)
# Check number of genomes downloaded
assert
nb_gen
=
=
3
assert
nb_gen
>
=
3
# And that db_dir exists and contains nb_gen files
assert
os
.
path
.
isdir
(
db_dir
)
assert
len
(
os
.
listdir
(
db_dir
))
==
nb_gen
...
...
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