Files @ 7790b34a0cef
Branch filter:

Location: kallithea/tox.ini

domruf
tests: add pytest-cov .coveragerc file

When using pytest-cov this file can be used to configure the coverage report.
See https://coverage.readthedocs.io/en/latest/config.html for details.
So when you start py.test like this

py.test --cov-config .coveragerc --cov=kallithea --cov-report xml

the settings in this file will be used.
[tox]
minversion = 1.8
envlist = py{26,27}-pytest

[testenv]
setenv =
    PYTHONHASHSEED = 0
deps =
    -r{toxinidir}/dev_requirements.txt
    py26-pytest: unittest2
    python-ldap
    python-pam
commands =
    pytest: py.test {posargs}