Skip to content

Commit b001566

Browse files
committed
feat: happy path test
1 parent 65f9b42 commit b001566

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

divref/tests/test_haplotype.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ def test_get_haplo_sequence_single(
5959
hail_reference_genome.add_sequence(str(test_fasta), str(test_fai))
6060

6161
variant = _make_variant(position=100, ref="A", alt="C")
62-
x = get_haplo_sequence(
62+
haplo_seq = get_haplo_sequence(
6363
context_size=2, variants=[variant], reference_genome=hail_reference_genome.name
6464
)
65-
print(hl.str(x))
65+
assert hl.eval(haplo_seq) == "CCCTC"
6666

6767

6868
def test_get_haplo_sequence_empty_list_raises() -> None:

0 commit comments

Comments
 (0)