Skip to content

Commit dc65c85

Browse files
author
Roland Hedberg
committed
Merge pull request #219 from jchysk/master
Fix typo 'unknown'
2 parents 45a6762 + 79fe8a9 commit dc65c85

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/idp_test/package/authn_request.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,20 @@ def pre_processing(self, message, args):
3030
return message
3131

3232
OPERATIONS = {
33-
'authn_unkown-issuer': {
33+
'authn_unknown-issuer': {
3434
"name": 'AuthnRequest with unknown issuer',
3535
"descr": 'AuthnRequest with unknown issuer',
3636
"sequence": [AuthnRequest_UnknownIssuer],
3737
"depends": ['authn'],
3838
"tests": {"pre": [CheckSaml2IntMetaData],
3939
"post": [CheckSaml2IntAttributes]}
4040
},
41-
'authn_unkown-extension': {
41+
'authn_unknown-extension': {
4242
"name": 'AuthnRequest with unknown extension',
4343
"descr": 'AuthnRequest with unknown extension',
4444
"sequence": [AuthnRequest_UnknownExtension],
4545
"depends": ['authn'],
4646
"tests": {"pre": [CheckSaml2IntMetaData],
4747
"post": [CheckSaml2IntAttributes]}
4848
},
49-
}
49+
}

src/saml2/entity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def pick_binding(self, service, bindings=None, descr_type="", request=None,
281281
#logger.error("Bindings: %s" % bindings)
282282
#logger.error("Entities: %s" % self.metadata)
283283

284-
raise SAMLError("Unkown entity or unsupported bindings")
284+
raise SAMLError("Unknown entity or unsupported bindings")
285285

286286
def message_args(self, message_id=0):
287287
if not message_id:

src/saml2/pack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def packager(identifier):
247247
try:
248248
return PACKING[identifier]
249249
except KeyError:
250-
raise Exception("Unkown binding type: %s" % identifier)
250+
raise Exception("Unknown binding type: %s" % identifier)
251251

252252

253253
def factory(binding, message, location, relay_state="", typ="SAMLRequest"):

0 commit comments

Comments
 (0)