Skip to content
Snippets Groups Projects
Commit f2b892cb authored by Amandine  PERRIN's avatar Amandine PERRIN
Browse files

adapt tests to option boot being int

parent 7ce54e34
No related branches found
No related tags found
No related merge requests found
Pipeline #57662 passed
......@@ -50,7 +50,7 @@ def test_parser_noconffile():
assert options.clust_mode == 1
assert options.min_id == 0.8
assert options.tol == 1
assert not options.boot
assert options.boot == 0
def test_parser_conffile():
......
......@@ -191,7 +191,7 @@ def test_parser_fasttree_fast(capsys):
with pytest.raises(SystemExit):
tree.parse(parser, "-o outdir -a align -s fasttree -fast".split())
_, err = capsys.readouterr()
assert "-fast option is available only for IQtree, and not compatible with '-B' and '-b' options (bootstraps)" in err
assert "-fast option is available only for IQtree, and not compatible with '-B' and '--boot' options (bootstraps)" in err
def test_parser_fastme_memory(capsys):
......@@ -217,7 +217,7 @@ def test_parser_iqtree_boot_fast(capsys):
with pytest.raises(SystemExit):
tree.parse(parser, "-o outdir -a align -b 1000 -fast".split())
_, err = capsys.readouterr()
assert "-fast option is available only for IQtree, and not compatible with '-B' and '-b' options (bootstraps)" in err
assert "-fast option is available only for IQtree, and not compatible with '-B' and '--boot' options (bootstraps)" in err
def test_parser_iqtree_writeboot_fast(capsys):
......@@ -230,7 +230,7 @@ def test_parser_iqtree_writeboot_fast(capsys):
with pytest.raises(SystemExit):
tree.parse(parser, "-o outdir -a align -B -fast".split())
_, err = capsys.readouterr()
assert "-fast option is available only for IQtree, and not compatible with '-B' and '-b' options (bootstraps)" in err
assert "-fast option is available only for IQtree, and not compatible with '-B' and '--boot' options (bootstraps)" in err
def test_parser_default():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment