File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
tests/src/OneLogin/saml2_tests Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11# python3-saml changelog
22### 1.2.5 (Jun 2, 2017)
3- * Fix issue related with multicers (multicerts were not used on response view )
3+ * Fix issue related with multicers (multicerts were not used on response validation )
44### 1.2.4 (May 18, 2017)
55* Publish KeyDescriptor[ use=encryption] only when required
66* [ #57 ] ( https://github.com/onelogin/python3-saml/pull/57 ) Be able to register future SP x509cert on the settings and publish it on SP metadata
Original file line number Diff line number Diff line change @@ -437,14 +437,14 @@ def testGetSPMetadataWithx509certNew(self):
437437 metadata = compat .to_string (settings .get_sp_metadata ())
438438 self .assertNotEqual (len (metadata ), 0 )
439439 self .assertIn ('<md:SPSSODescriptor' , metadata )
440- self .assertEquals (2 , metadata .count ('<md:KeyDescriptor' ))
441- self .assertEquals (2 , metadata .count ('<md:KeyDescriptor use="signing"' ))
442- self .assertEquals (0 , metadata .count ('<md:KeyDescriptor use="encryption"' ))
440+ self .assertEqual (2 , metadata .count ('<md:KeyDescriptor' ))
441+ self .assertEqual (2 , metadata .count ('<md:KeyDescriptor use="signing"' ))
442+ self .assertEqual (0 , metadata .count ('<md:KeyDescriptor use="encryption"' ))
443443
444444 settings_info ['security' ]['wantNameIdEncrypted' ] = True
445445 settings_info ['security' ]['wantAssertionsEncrypted' ] = False
446446 settings = OneLogin_Saml2_Settings (settings_info )
447- metadata = settings .get_sp_metadata ()
447+ metadata = compat . to_string ( settings .get_sp_metadata () )
448448 self .assertEqual (4 , metadata .count ('<md:KeyDescriptor' ))
449449 self .assertEqual (2 , metadata .count ('<md:KeyDescriptor use="signing"' ))
450450 self .assertEqual (2 , metadata .count ('<md:KeyDescriptor use="encryption"' ))
You can’t perform that action at this time.
0 commit comments