script to help debugging install network problems

This commit is contained in:
Emmanuel Viennet 2022-03-22 14:43:25 +01:00
parent b10fa09eb7
commit 8f8472eb3e

10
tools/check_network.py Normal file
View File

@ -0,0 +1,10 @@
# test simple de connectivité pour tests
import requests
import sco_version
import app.scodoc.sco_utils as scu
response = requests.get(scu.SCO_UP2DATE + "/" + sco_version.SCOVERSION)
print(response.status_code)
print(response.text)