From 4f30cb50e36c57420ac7a130962f6e78e65f21c5 Mon Sep 17 00:00:00 2001 From: "Antoine R. Dumont (@ardumont)" Date: Wed, 9 Oct 2019 13:12:15 +0200 Subject: [PATCH] tox.ini: Use tests installed files instead of working directory Related D2082 --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index c7a89b7..8dc582a 100644 --- a/tox.ini +++ b/tox.ini @@ -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