@@ -8,23 +8,19 @@ def test_phylo_fasta():
88 with Capturing () as out :
99 phylo .main (["phylo" , "fasta" , "test_data/test.vcf.gz" ])
1010 last_line = out [- 1 ]
11- assert 2958 == len (last_line )
11+ assert 2959 == len (last_line )
1212 assert last_line .startswith ("AANNCTC" )
1313
14- #######################
15- # Disabled until replacement for "muscle -maketree" is found
16- #######################
1714
18-
19- # def test_phylo_nj():
20- # with Capturing() as out:
21- # phylo.main(["phylo", "tree", "nj", "test_data/test.vcf.gz"])
22- # line = out[24]
23- # assert line.startswith("DL200:0.1324")
15+ def test_phylo_nj ():
16+ with Capturing () as out :
17+ phylo .main (["phylo" , "tree" , "nj" , "test_data/test.vcf.gz" ])
18+ line = out .split (',' )[11 ]
19+ assert line .startswith ("DL200:0.1099" )
2420
2521
26- # def test_phylo_upgma():
27- # with Capturing() as out:
28- # phylo.main(["phylo", "tree", "upgma", "test_data/test.vcf.gz"])
29- # line = out[25 ]
30- # assert line.startswith("RC301 :0.085 ")
22+ def test_phylo_upgma ():
23+ with Capturing () as out :
24+ phylo .main (["phylo" , "tree" , "upgma" , "test_data/test.vcf.gz" ])
25+ line = out . split ( ',' )[ 11 ]
26+ assert line .startswith ("DL200 :0.1201 " )
0 commit comments