Skip to content

Commit e767017

Browse files
committed
use the version of python in the current virtualenv to install the template project into the tox virtualenv during the test
1 parent aa44825 commit e767017

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_project_templates.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export WORKON_HOME="$(echo ${TMPDIR:-/tmp}/WORKON_HOME | sed 's|//|/|g')"
88
export PROJECT_HOME="$(echo ${TMPDIR:-/tmp}/PROJECT_HOME | sed 's|//|/|g')"
99

1010
oneTimeSetUp() {
11-
(cd "$test_dir/testtemplate" && rm -rf build && python setup.py install)
11+
(cd "$test_dir/testtemplate" && rm -rf build && "$VIRTUAL_ENV/bin/python" setup.py install)
1212
rm -rf "$WORKON_HOME"
1313
mkdir -p "$WORKON_HOME"
1414
rm -rf "$PROJECT_HOME"

0 commit comments

Comments
 (0)