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

add all unit tests

parent 29959f39
No related branches found
No related tags found
No related merge requests found
Pipeline #46825 passed
...@@ -86,10 +86,10 @@ unit-test-ubuntu: ...@@ -86,10 +86,10 @@ unit-test-ubuntu:
- py.test test/test_unit/test_annotate/test_annotation* -vx - py.test test/test_unit/test_annotate/test_annotation* -vx
- py.test test/test_unit/test_annotate/test_format* -v -x - py.test test/test_unit/test_annotate/test_format* -v -x
- py.test test/test_unit/test_pangenome -vx - py.test test/test_unit/test_pangenome -vx
# - py.test test/test_unit/test_corepers -vx - py.test test/test_unit/test_corepers -vx
# - py.test test/test_unit/test_align -vx - py.test test/test_unit/test_align -vx
# - py.test test/test_unit/test_tree -xv - py.test test/test_unit/test_tree -xv
# - mv .coverage .coverage-unit - mv .coverage .coverage-unit
artifacts: artifacts:
paths: paths:
- .coverage-unit - .coverage-unit
......
...@@ -539,8 +539,8 @@ def test_family_align_nomafft_btrempty_errormafft(caplog): ...@@ -539,8 +539,8 @@ def test_family_align_nomafft_btrempty_errormafft(caplog):
ngenomes, logger) ngenomes, logger)
assert "Checking extractions for family 8" in caplog.text assert "Checking extractions for family 8" in caplog.text
assert "Aligning family 8" in caplog.text assert "Aligning family 8" in caplog.text
assert ("mafft --auto test/data/align/exp_files/exp_aldir-pers/current.8.prt " assert ("command '>mafft --auto test/data/align/exp_files/exp_aldir-pers/current.8.prt' "
"does not exist") in caplog.text "is not possible") in caplog.text
# Check content of mafft and btr files # Check content of mafft and btr files
assert not os.path.isfile(mafft_file) assert not os.path.isfile(mafft_file)
assert not os.path.isfile(btr_file) assert not os.path.isfile(btr_file)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment