Skip to content

Commit

Permalink
adding tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iskandr committed Oct 7, 2024
1 parent 131e949 commit eb35898
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion tests/test_annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
)
from .common import eq_


def test_questionable_A_01_281Q():
result = parse("A*01:281Q")
eq_(result, Allele.get("HLA", "A", "01", "281", annotation="Q"))
Expand Down
1 change: 0 additions & 1 deletion tests/test_cat.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from mhcgnomes import parse
from .common import eq_


def test_parse_FLA_E_18_01():
s = "FLA-E*18:01"
eq_(parse(s, verbose=True).to_string(), s)
1 change: 0 additions & 1 deletion tests/test_cd1.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from mhcgnomes import parse, Gene
from .common import eq_


def test_mamu_cd1b():
seq = "rhesus macaque CD1b"
result = parse(seq)
Expand Down
1 change: 0 additions & 1 deletion tests/test_chicken.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from mhcgnomes import parse, Species, Allele, Haplotype, Gene
from .common import eq_


def test_parse_BF2_gene():
result = parse("BF2")
expected = Gene.get("chicken", "BF2")
Expand Down
1 change: 0 additions & 1 deletion tests/test_class2_pair.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from mhcgnomes import parse, Pair
from .common import eq_


def test_restrict_num_allele_fields_HLA_DRA_01_01_01_01_DRB1_01_01_01_01():
result = parse("DRA*01:01:01:01/DRB*01:01:01:01")
eq_(type(result), Pair)
Expand Down

0 comments on commit eb35898

Please sign in to comment.