Commit 65623106 authored by van den Berg's avatar van den Berg
Browse files

Add real test for site_concordancy

parent fdaf72ab
def func(x):
return x + 1
import pytest
from vtools.evaluate import site_concordancy
def test_answer():
assert func(41) == 42
from cyvcf2 import VCF
def known():
bla =VCF('tests/cases/known1.vcf.gz', gts012=True)
return bla
def test_evaluate(known):
d, disc = site_concordancy(known, known, ["known1"], ["known1"])
assert d['total_sites'] == 3
assert not disc
\ No newline at end of file
......@@ -2,8 +2,7 @@
envlist = py36
deps =
deps =
commands = pytest
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment