0001-python3-remove-dict.iterkeys.patch
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 |
- |