diff --git a/src/idp_test/package/authn_request.py b/src/idp_test/package/authn_request.py index e4b2691..ccebf59 100644 --- a/src/idp_test/package/authn_request.py +++ b/src/idp_test/package/authn_request.py @@ -30,7 +30,7 @@ class AuthnRequest_UnknownExtension(AuthnRequest): return message OPERATIONS = { - 'authn_unkown-issuer': { + 'authn_unknown-issuer': { "name": 'AuthnRequest with unknown issuer', "descr": 'AuthnRequest with unknown issuer', "sequence": [AuthnRequest_UnknownIssuer], @@ -38,7 +38,7 @@ OPERATIONS = { "tests": {"pre": [CheckSaml2IntMetaData], "post": [CheckSaml2IntAttributes]} }, - 'authn_unkown-extension': { + 'authn_unknown-extension': { "name": 'AuthnRequest with unknown extension', "descr": 'AuthnRequest with unknown extension', "sequence": [AuthnRequest_UnknownExtension], @@ -46,4 +46,4 @@ OPERATIONS = { "tests": {"pre": [CheckSaml2IntMetaData], "post": [CheckSaml2IntAttributes]} }, -} \ No newline at end of file +} diff --git a/src/saml2/entity.py b/src/saml2/entity.py index cfb04f0..6eed861 100644 --- a/src/saml2/entity.py +++ b/src/saml2/entity.py @@ -281,7 +281,7 @@ class Entity(HTTPBase): #logger.error("Bindings: %s" % bindings) #logger.error("Entities: %s" % self.metadata) - raise SAMLError("Unkown entity or unsupported bindings") + raise SAMLError("Unknown entity or unsupported bindings") def message_args(self, message_id=0): if not message_id: diff --git a/src/saml2/pack.py b/src/saml2/pack.py index 8057ad0..f045c7a 100644 --- a/src/saml2/pack.py +++ b/src/saml2/pack.py @@ -247,7 +247,7 @@ def packager(identifier): try: return PACKING[identifier] except KeyError: - raise Exception("Unkown binding type: %s" % identifier) + raise Exception("Unknown binding type: %s" % identifier) def factory(binding, message, location, relay_state="", typ="SAMLRequest"):