Skip to content

Commit

Permalink
Fixed shebang kernel limitation with virtualenv during test run (pypa…
Browse files Browse the repository at this point in the history
…/virtualenv#596)

Change-Id: Ib08b3b37ca23379cf7f6c89aa9b0c3f5b497dd8d
  • Loading branch information
jakubjosef committed Feb 8, 2018
1 parent a8a059b commit a97b69d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ setup_virtualenv() {
log_info "Setting up Python virtualenv"
virtualenv $VENV_DIR
source ${VENV_DIR}/bin/activate
pip install salt${PIP_SALT_VERSION}
python -m pip install salt${PIP_SALT_VERSION}
}

setup_pillar() {
Expand Down Expand Up @@ -111,7 +111,7 @@ clean() {

salt_run() {
[ -e ${VENV_DIR}/bin/activate ] && source ${VENV_DIR}/bin/activate
salt-call ${SALT_OPTS} $*
python $(which salt-call) ${SALT_OPTS} $*
}

prepare() {
Expand Down

0 comments on commit a97b69d

Please sign in to comment.