File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 15
15
16
16
from pathutils import full_path
17
17
18
- SUCCESS_STATUS = """ <?xml version=\' 1.0\' encoding=\' UTF-8\' ?>
19
- <ns0:Status xmlns:ns0="urn:oasis:names:tc:SAML:2.0:protocol"><ns0:StatusCode
20
- Value="urn:oasis:names:tc:SAML:2.0:status:Success" /></ns0:Status>"""
21
-
22
- ERROR_STATUS = """ <?xml version='1.0' encoding='UTF-8'?>
23
- <ns0:Status xmlns:ns0="urn:oasis:names:tc:SAML:2.0:protocol"><ns0:StatusCode
24
- Value="urn:oasis:names:tc:SAML:2.0:status:Responder"><ns0:StatusCode
25
- Value="urn:oasis:names:tc:SAML:2.0:status:UnknownPrincipal"
26
- /></ns0:StatusCode><ns0:StatusMessage>Error resolving
27
- principal</ns0:StatusMessage></ns0:Status>"""
18
+ SUCCESS_STATUS = ( ' <?xml version=\' 1.0\' encoding=\' UTF-8\' ?>\n '
19
+ ' <ns0:Status xmlns:ns0="urn:oasis:names:tc:SAML:2.0:protocol"><ns0:StatusCode '
20
+ ' Value="urn:oasis:names:tc:SAML:2.0:status:Success" /></ns0:Status>' )
21
+
22
+ ERROR_STATUS = ( ' <?xml version=\ ' 1.0\ ' encoding=\ ' UTF-8\ ' ?>\n '
23
+ ' <ns0:Status xmlns:ns0="urn:oasis:names:tc:SAML:2.0:protocol"><ns0:StatusCode '
24
+ ' Value="urn:oasis:names:tc:SAML:2.0:status:Responder"><ns0:StatusCode '
25
+ ' Value="urn:oasis:names:tc:SAML:2.0:status:UnknownPrincipal" '
26
+ ' /></ns0:StatusCode><ns0:StatusMessage>Error resolving '
27
+ ' principal</ns0:StatusMessage></ns0:Status>' )
28
28
29
29
30
30
def _eq (l1 , l2 ):
You can’t perform that action at this time.
0 commit comments