summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-09-28 13:31:37 -0400
committerSimo Sorce <simo@redhat.com>2015-10-19 12:16:02 -0400
commit72c9ad1546223ad0aa22bceb8c9b57f885519c9d (patch)
tree71af19a664673928951178d388f331bcc2a1e575
parent30d9c646b9520b9a69b405e11ad3e60be987a3b2 (diff)
downloadcustodia-72c9ad1546223ad0aa22bceb8c9b57f885519c9d.tar.gz
custodia-72c9ad1546223ad0aa22bceb8c9b57f885519c9d.tar.xz
custodia-72c9ad1546223ad0aa22bceb8c9b57f885519c9d.zip
Fix tox env for machine installed python version
With this env var we force the local /bin/coverage to still source locally unavailable modules from the .tox directory. Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Christian Heimes <cheimes@redhat.com>
-rw-r--r--tox.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 3572322..faae3bc 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,6 +2,8 @@
envlist = py27,py34,doc,sphinx
[testenv]
+setenv =
+ PYTHONPATH = {envsitepackagesdir}
deps =
pytest
coverage