tox.ini: Use tests installed files instead of working directory

Related D2082
This commit is contained in:
Antoine R. Dumont (@ardumont) 2019-10-09 13:12:15 +02:00
parent 3ce6c5c6ef
commit 4f30cb50e3
No known key found for this signature in database
GPG key ID: 52E2E9840D10C3B8

View file

@ -7,7 +7,9 @@ deps =
.[testing]
pytest-cov
commands =
pytest --cov=swh --cov-branch {posargs}
pytest --cov={envsitepackagesdir}/swh/lister/ --cov-branch \
{envsitepackagesdir}/swh/lister/ {posargs}
[testenv:flake8]
skip_install = true