From 574476e44c394bf0f2268d911cc7f847d7c1db51 Mon Sep 17 00:00:00 2001 From: Hugo Date: Sat, 22 Aug 2020 10:36:22 +0300 Subject: [PATCH] Include tests in coverage https://nedbatchelder.com/blog/202008/you_should_include_your_tests_in_coverage.html --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 87367e0..0a61ca1 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,7 @@ setenv = PYLAST_PASSWORD_HASH={env:PYLAST_PASSWORD_HASH:} PYLAST_API_KEY={env:PYLAST_API_KEY:} PYLAST_API_SECRET={env:PYLAST_API_SECRET:} -commands = pytest -v -s -W all --cov pylast --cov-report term-missing --random-order {posargs} +commands = pytest -v -s -W all --cov pylast --cov tests --cov-report term-missing --random-order {posargs} [testenv:venv] deps = ipdb