Skip to content
Snippets Groups Projects
Commit 65623106 authored by van den Berg's avatar van den Berg
Browse files

Add real test for site_concordancy

parent fdaf72ab
No related branches found
No related tags found
2 merge requests!6Merge testing into master,!5Merge new testing code into devel
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
@pytest.fixture
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
[testenv]
deps =
-rrequirements.txt
deps =
pytest
commands = pytest
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment