Commit 5a60667c authored by Amandine  PERRIN's avatar 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
......@@ -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
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