regression_test: Call python as python3 explicitly as a work around for F27 and F30 machines which still have python2 installed

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-12-03 13:18:17 -08:00
parent e010041db7
commit fed17368dc

View File

@@ -74,7 +74,7 @@ if [[ ${#MGR} -eq 0 ]]; then # Allow the user to change the radio they test agai
MGR="localhost"
fi
SCENARIO_CHECK="$(python -c "import requests; print(requests.get('http://${MGR}:8080/events/').status_code)")"
SCENARIO_CHECK="$(python3 -c "import requests; print(requests.get('http://${MGR}:8080/events/').status_code)")"
if [[ ${SCENARIO_CHECK} -eq 200 ]]; then
pass
else