diff --git a/example/backends/spidsaml2_validator.py b/example/backends/spidsaml2_validator.py index 9311e9be..15e272a3 100644 --- a/example/backends/spidsaml2_validator.py +++ b/example/backends/spidsaml2_validator.py @@ -78,7 +78,7 @@ def validate_issuer(self): # 30 # check that this issuer is in the metadata... # L'attributo Format di Issuer della Response deve essere omesso o assumere valore urn:oasis:names:tc:SAML:2.0:nameid-format:entity. In questo test il valore รจ diverso. Risultato atteso: KO - if hasattr(self.response.issuer.format): + if hasattr(self.response.issuer, "format"): if ( self.response.issuer.format != "urn:oasis:names:tc:SAML:2.0:nameid-format:entity"