Commits

Doug Hellmann committed e767017

use the version of python in the current virtualenv to install the template project into the tox virtualenv during the test

Comments (0)

Files changed (1)

tests/test_project_templates.sh

 export PROJECT_HOME="$(echo ${TMPDIR:-/tmp}/PROJECT_HOME | sed 's|//|/|g')"
 
 oneTimeSetUp() {
-    (cd "$test_dir/testtemplate" && rm -rf build && python setup.py install)
+    (cd "$test_dir/testtemplate" && rm -rf build && "$VIRTUAL_ENV/bin/python" setup.py install)
     rm -rf "$WORKON_HOME"
     mkdir -p "$WORKON_HOME"
     rm -rf "$PROJECT_HOME"