From df1799b3e6e5df892b131b305c32847915750c06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Diemer?= <stephane.diemer@ubicast.eu> Date: Wed, 23 Aug 2017 10:42:07 +0200 Subject: [PATCH] Changed color of SSL cert message. --- tests/test_ssl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_ssl.py b/tests/test_ssl.py index 6413c0d2..e2ef6caa 100755 --- a/tests/test_ssl.py +++ b/tests/test_ssl.py @@ -10,6 +10,7 @@ import sys import requests import imp +YELLOW = '\033[93m' GREEN = '\033[92m' RED = '\033[91m' DEF = '\033[0m' @@ -50,7 +51,7 @@ for s, d in conf_servers: print('Checking SSL certificate of %s' % url) requests.get(url) except requests.exceptions.SSLError: - print('%sSSL certificate for %s is not valid%s' % (RED, url, DEF)) + print('%sSSL certificate for %s is not valid%s' % (YELLOW, url, DEF)) all_ok = False if not all_ok: sys.exit(3) -- GitLab