Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
python-python3-saml.23926
bug-testDecryptElement.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bug-testDecryptElement.patch of Package python-python3-saml.23926
--- tests/src/OneLogin/saml2_tests/utils_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/tests/src/OneLogin/saml2_tests/utils_test.py +++ b/tests/src/OneLogin/saml2_tests/utils_test.py @@ -625,7 +625,7 @@ class OneLogin_Saml2_Utils_Test(unittest encrypted_nameid_nodes = dom_nameid_enc.find('.//saml:EncryptedID', namespaces=OneLogin_Saml2_Constants.NSMAP) encrypted_data = encrypted_nameid_nodes[0] decrypted_nameid = OneLogin_Saml2_Utils.decrypt_element(encrypted_data, key) - self.assertEqual('saml:NameID', decrypted_nameid.tag) + self.assertIn(decrypted_nameid.tag, ['NameID', 'saml:NameID']) self.assertEqual('2de11defd199f8d5bb63f9b7deb265ba5c675c10', decrypted_nameid.text) xml_assertion_enc = b64decode(self.file_contents(join(self.data_path, 'responses', 'valid_encrypted_assertion_encrypted_nameid.xml.base64')))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor