Revert "foreman: Use generic python in test run (#52544)"

Cannot use `python.py` with `-c`.

This reverts commit 2991c5d47c.
This commit is contained in:
Matt Clay 2019-02-25 11:50:28 -08:00
parent 4eb9c591d7
commit 52a8957b6e

View file

@ -2,7 +2,7 @@
# Wrapper to use the correct Python interpreter and support code coverage.
REL_SCRIPT="../../../../contrib/inventory/foreman.py"
ABS_SCRIPT="$("python.py" -c "import os; print(os.path.abspath('${REL_SCRIPT}'))")"
ABS_SCRIPT="$("${ANSIBLE_TEST_PYTHON_INTERPRETER}" -c "import os; print(os.path.abspath('${REL_SCRIPT}'))")"
# Make sure output written to current directory ends up in the temp dir.
cd "${OUTPUT_DIR}"