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): import pytest
return x + 1
from vtools.evaluate import site_concordancy
def test_answer(): from cyvcf2 import VCF
assert func(41) == 42
@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 @@ ...@@ -2,8 +2,7 @@
envlist = py36 envlist = py36
[testenv] [testenv]
deps = deps =
-rrequirements.txt
pytest pytest
commands = pytest commands = pytest
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment