0001-tests-add-data-to-test-handling-of-UTF-8-in-lasso-du.patch
tests/test_idp_saml2.py | ||
---|---|---|
273 | 273 |
login.msgRelayState = force_str(relay_state) |
274 | 274 |
if not name_id_policy: |
275 | 275 |
request.nameIdPolicy = None |
276 |
request.extensions = lasso.Samlp2Extensions() |
|
277 |
# extension with unicode characters !! test dumping in saml2_endpoints and continue_sso |
|
278 |
request.extensions.any = ( |
|
279 |
force_str('<extension xmlns="http://example.com/">éé</extension>'), |
|
280 |
) |
|
281 | ||
276 | 282 |
if login_hints: |
277 |
request.extensions = lasso.Samlp2Extensions() |
|
278 |
request.extensions.any = ( |
|
283 |
request.extensions.any += ( |
|
279 | 284 |
force_str('<login-hint xmlns="https://www.entrouvert.com/">%s</login-hint>' % ' '.join(login_hints)), |
280 | 285 |
) |
281 | 286 |
login.buildAuthnRequestMsg() |
282 |
- |