Let pytest-cov handle enforcing 100% testcov

This commit is contained in:
Ian Cordasco 2015-12-06 17:36:34 -06:00
parent 9e395fb22c
commit d6147479a8
3 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,4 @@
[report]
exclude_lines =
.* # Python \d.*
fail_under = 100

View File

@ -1,2 +1,2 @@
pytest
pytest-cov
pytest-cov>=2.0

View File

@ -6,8 +6,7 @@ pip_pre = False
deps =
-rdev-requirements.txt
commands =
py.test {posargs:--cov rfc3986 tests/}
coverage report --fail-under 100 -m
py.test {posargs:--cov rfc3986 --cov-fail-under 100 tests/}
[testenv:pypy]
deps = {[testenv]deps}