Fix tests which assume virtualenv is available.

This commit is contained in:
Matt Clay
2019-03-27 02:42:11 -07:00
parent 62d3ed0e2f
commit 8612b126a8
6 changed files with 16 additions and 27 deletions

View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# Create and activate a fresh virtual environment with `source virtualenv.sh`.
rm -rf "${OUTPUT_DIR}/venv"
"${ANSIBLE_TEST_PYTHON_INTERPRETER}" -m virtualenv --system-site-packages --python "${ANSIBLE_TEST_PYTHON_INTERPRETER}" "${OUTPUT_DIR}/venv"