Skip to content

Commit 7fce22b

Browse files
Merge pull request #46 from SUNET/draft43
test fixes from rohe
2 parents 1aeb011 + e571f61 commit 7fce22b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"jwks": {"keys": [{"kty": "RSA", "use": "sig", "kid": "MHgtMFdtV2RLem5MUEhLTl9GTWN6d09yTXBFZWxWNTFiRVotRHRYUU5Edw", "e": "AQAB", "n": "kug08yUQr9E9Go7EyYG3o3I838s_O3zKXhU1641ns23Uisyv58HdTGPyYo-hnnsO2di4WU2OBd_k4k1sAhXau08u0JevHAy3lF_9U5G9pBzs61vrhlm2jKE04mSXLZjoCQ4cvIhpRbb3XQe8WJ4J5VzKkYkDa8_85HRtK2XCmxEPrd_xVQePTDWPBKY1hOiYqTyua3_i0WrUoMsq8n03JQ-tAZGRI1yKcnEefwFipWTvQcxR-hpgYDYBMoiAH-FIgdk586obYPjlH2evkeYoohEkXMakDsUWQUUKlP6_DIyT8IlqDP1jGCYH_2QEkixeC9wAbcKan2MotzsO1h3eLw"}, {"kty": "EC", "use": "sig", "kid": "Z0gyUE1mMDVzallIMFd4WDZ6cnRmZXhiLXFRcmotY1puR3BsSXhGZDhDRQ", "crv": "P-256", "x": "VhGXHRlriZoid-5LcQ-0OpBbUw-P-2IyWGLb871Lzns", "y": "xjKNE5-75mzqkW6t_Is8n3eSt-cJVfvV7QFDUZPoVMU"}]}, "authority_hints": ["https://trust_anchor.example.com"]}

tests/subordinate/https%3A%2F%2Frp.example.com.lock

Whitespace-only changes.

tests/test_41_federation_entity.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,8 @@ def test_upstream_attribute(self):
369369
def test_trust_anchors_attribute(self):
370370
# This to deal with some strange spill over
371371
anchors = set(self.leaf["federation_entity"].trust_anchors.keys())
372-
if "https://swamid.se" in anchors:
373-
for x in ['https://swamid.se', 'https://anchor.example.com', 'https://feide.no']:
372+
for x in ['https://swamid.se', 'https://anchor.example.com', 'https://feide.no']:
373+
if x in anchors:
374374
anchors.remove(x)
375375

376376
assert anchors == {'https://ta.example.org', 'https://2nd.ta.example.org'}

0 commit comments

Comments
 (0)