From d8bfa67cf1ae3a0bfc68e6dc7f4c64840869f7ae Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Mon, 6 Nov 2023 14:11:29 +0300 Subject: Disable SSL check on Mechanical Rob. Signed-off-by: Munyoki Kilyungi --- test/requests/test-website.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/requests/test-website.py b/test/requests/test-website.py index 8522dc06..fe197018 100755 --- a/test/requests/test-website.py +++ b/test/requests/test-website.py @@ -25,7 +25,7 @@ def host_is_online(host): for count in range(1, 10): try: time.sleep(count) - requests.get(host) + requests.get(host, verify=False) return True except Exception as cre: print(f"Retrying in {count + 1} seconds ...") -- cgit v1.2.3