Projet

Général

Profil

0001-python3-remove-dict.iterkeys.patch

Paul Marillonnet, 24 avril 2019 15:30

Télécharger (986 octets)

Voir les différences:

Subject: [PATCH] python3: remove dict.iterkeys

 tests/test_cas.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/test_cas.py
351 351
        ticket_id = urlparse.parse_qs(response.url.split('?')[1])[constants.TICKET_PARAM][0]
352 352
        response = client.get('/idp/cas/serviceValidate', {constants.TICKET_PARAM:
353 353
            ticket_id, constants.SERVICE_PARAM: self.URL, constants.PGT_URL_PARAM: self.PGT_URL})
354
        for key in client.session.iterkeys():
354
        for key in client.session.keys():
355 355
            if key.startswith(constants.PGT_IOU_PREFIX):
356 356
                pgt_iou = key
357 357
                pgt = client.session[key]
358
-