[tox] Remove set of PATH environment variable
authorDenis Laxalde <denis.laxalde@logilab.fr>
Wed, 22 Jul 2015 10:55:39 +0200
changeset 10544 cb2c9746341d
parent 10543 94af55569598
child 10545 8fa6506aa038
[tox] Remove set of PATH environment variable The : concatenation does not work actually so the resulting PATH was just wrong (it did not contain the previous PATH). Anyways, the PATH environment variable is passed by default by tox so it's probably better to let the caller set it (thus avoiding to hard-code the specific postgres version and path). http://tox.readthedocs.org/en/latest/example/basic.html#passing-down-environment-variables
tox.ini
--- a/tox.ini	Fri Jul 17 14:06:22 2015 +0200
+++ b/tox.ini	Wed Jul 22 10:55:39 2015 +0200
@@ -3,8 +3,6 @@
 
 [testenv]
 sitepackages = True
-setenv =
-  PATH=/usr/lib/postgresql/9.4/bin:$PATH
 commands = pytest -t {envname}/test {posargs}
 
 [testenv:cubicweb]