diff --git a/tests/test_apt_proxy.py b/tests/test_apt_proxy.py index 6be5d67194e5ef1228e1b735225a012b1e4fc5f8..6152f5308e244e5a50b466b01fc951ed66050f10 100755 --- a/tests/test_apt_proxy.py +++ b/tests/test_apt_proxy.py @@ -33,7 +33,7 @@ for s in conf_servers: try: url = "https://%s/old-releases.ubuntu.com/ubuntu/dists/lucid/Release.gpg" % v print('Checking url certificate %s' % url) - d = requests.get(url, verify=False) + d = requests.get(url, verify=False).text if not "BEGIN PGP SIGNATURE" in d: all_ok = False print('Unexpected content: %s' % d)