From c2cadaabdc60f00b43243d38f9d4fbee4f393a4c Mon Sep 17 00:00:00 2001 From: Branko Majic Date: Wed, 14 Feb 2018 19:29:18 +0100 Subject: [PATCH] Fix path used for coverage testing when running within tox environment (issue #644). --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 4afa9560..7e91ed61 100644 --- a/tox.ini +++ b/tox.ini @@ -28,7 +28,7 @@ commands = # Test that there are no migrations needed -- on Django 1.11, we can # use --check and remove the '!' which likely doesn't work on Windows sh -c '! testproject/manage.py makemigrations --dry-run --exit --noinput' - pytest --basetemp={envtmpdir} --ds=tests.settings --cov=src/wiki --cov-config .coveragerc {posargs} + pytest --basetemp={envtmpdir} --ds=tests.settings --cov={envsitepackagesdir}/wiki --cov-config .coveragerc {posargs} usedevelop = false -- 2.45.2