def test_consensus_tree_95(phylobuddy, next_hash): tester = Pb.consensus_tree(phylobuddy, frequency=0.95) assert phylo_to_hash(tester) == next_hash
def test_consensus_tree_95(key, next_hash, pb_resources, hf): tester = pb_resources.get_one(key) tester = Pb.consensus_tree(tester, frequency=0.95) assert hf.buddy2hash(tester) == next_hash
def test_consensus_tree(phylobuddy, next_hash): tester = Pb.consensus_tree(phylobuddy) assert phylo_to_hash(tester) == next_hash
def test_consensus_tree(key, next_hash, pb_resources, hf): tester = pb_resources.get_one(key) tester = Pb.consensus_tree(tester) assert hf.buddy2hash(tester) == next_hash, tester.write("error_files%s%s" % (next_hash, os.path.sep))