Skip to content
Snippets Groups Projects
Commit 5f9aa7fd authored by Samuel Mondal's avatar Samuel Mondal
Browse files

Add actual tests to the test file

parent 515f1f94
No related branches found
No related tags found
1 merge request!65Add actual tests to the test file
Pipeline #14925 failed
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
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment