diff --git a/tests/test_apt_proxy.py b/tests/test_apt_proxy.py index 6152f5308e244e5a50b466b01fc951ed66050f10..bfe513946c104a74600b031ce5263cdabe81f2b7 100755 --- a/tests/test_apt_proxy.py +++ b/tests/test_apt_proxy.py @@ -36,9 +36,11 @@ for s in conf_servers: d = requests.get(url, verify=False).text if not "BEGIN PGP SIGNATURE" in d: all_ok = False - print('Unexpected content: %s' % d) + print('%sUnexpected content: %s%s' % (RED, d, DEF)) + else: + print('%sTest OK%s' % (GREEN, DEF)) except Exception: - print('Package mirror not working') + print('%sPackage mirror not working%s' % (RED, DEF)) all_ok = False sys.exit(int(not all_ok))