From 8f8472eb3eec0bacd6898ec4e90ce939000d1ec2 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 22 Mar 2022 14:43:25 +0100 Subject: [PATCH] script to help debugging install network problems --- tools/check_network.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tools/check_network.py diff --git a/tools/check_network.py b/tools/check_network.py new file mode 100644 index 00000000..ceaafa5e --- /dev/null +++ b/tools/check_network.py @@ -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)