From 973426869145304994c3563c1d51a719be71364e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu>
Date: Thu, 23 Feb 2017 12:21:51 +0100
Subject: [PATCH] check content appropriately, refs #20589

---
 tests/test_apt_proxy.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_apt_proxy.py b/tests/test_apt_proxy.py
index 6be5d671..6152f530 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)
-- 
GitLab