mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user