diff --git a/tests/test_exon_concatenation.py b/tests/test_exon_concatenation.py index fbeb13047b8cbd625c9e47d0134e63d09acbec76..01cbd49eeb0c0ee5acd4e07bef6a4a75bd13e7af 100644 --- a/tests/test_exon_concatenation.py +++ b/tests/test_exon_concatenation.py @@ -1,3 +1,9 @@ import pytest - import exon_concatenation from exon_concatenation + +test_fasta_1 = "test_files/test_1.fa" +test_fasta_2 = "test_files/test_2.fa" + +def test_exon_concatenation(): + assert exon_concatenation(test_fasta_1) == expected_list_of_tuples + assert exon_concatenation(test_fasta_2) == expected diff --git a/tests/test_poly_a.py b/tests/test_poly_a.py index dc89197b9d69374bb1b165fdf37c088e13b9c800..91f90c19937d45778c56b8b3fdeafecd31fe9ea5 100644 --- a/tests/test_poly_a.py +++ b/tests/test_poly_a.py @@ -1,3 +1,12 @@ import pytest - from poly_a import poly_a_generator, poly_a_addition_to_fasta_list + + + + +def test_poly_a_generator(): + assert poly_a_generator(exon_string) == exon_and_polya + + +def test_poly_a_addition_to_fasta_list(): + assert poly_a_addition_to_fasta_list(list_of_tuples) == manipulated_list_of_tuples