File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ def test_parse_ok_request(self):
267
267
assert resp_args ["destination" ] == "http://lingon.catalogix.se:8087/"
268
268
assert resp_args ["in_response_to" ] == "id1"
269
269
name_id_policy = resp_args ["name_id_policy" ]
270
- assert _eq (name_id_policy .keyswv (), ["format" , "allow_create" ])
270
+ assert _eq (name_id_policy .keyswv (), ["format" ])
271
271
assert name_id_policy .format == saml .NAMEID_FORMAT_TRANSIENT
272
272
assert resp_args [
273
273
"sp_entity_id" ] == "urn:mace:example.com:saml:roland:sp"
@@ -1341,7 +1341,7 @@ def test_parse_ok_request(self):
1341
1341
assert resp_args ["destination" ] == "http://lingon.catalogix.se:8087/"
1342
1342
assert resp_args ["in_response_to" ] == "id1"
1343
1343
name_id_policy = resp_args ["name_id_policy" ]
1344
- assert _eq (name_id_policy .keyswv (), ["format" , "allow_create" ])
1344
+ assert _eq (name_id_policy .keyswv (), ["format" ])
1345
1345
assert name_id_policy .format == saml .NAMEID_FORMAT_TRANSIENT
1346
1346
assert resp_args [
1347
1347
"sp_entity_id" ] == "urn:mace:example.com:saml:roland:sp"
Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ def test_create_auth_request_0(self):
269
269
assert ar .provider_name == "urn:mace:example.com:saml:roland:sp"
270
270
assert ar .issuer .text == "urn:mace:example.com:saml:roland:sp"
271
271
nid_policy = ar .name_id_policy
272
- assert nid_policy .allow_create == "false"
272
+ assert nid_policy .allow_create is None
273
273
assert nid_policy .format == saml .NAMEID_FORMAT_TRANSIENT
274
274
275
275
node_requested_attributes = None
@@ -1757,7 +1757,7 @@ def test_create_auth_request_0(self):
1757
1757
assert ar .provider_name == "urn:mace:example.com:saml:roland:sp"
1758
1758
assert ar .issuer .text == "urn:mace:example.com:saml:roland:sp"
1759
1759
nid_policy = ar .name_id_policy
1760
- assert nid_policy .allow_create == "false"
1760
+ assert nid_policy .allow_create is None
1761
1761
assert nid_policy .format == saml .NAMEID_FORMAT_TRANSIENT
1762
1762
1763
1763
node_requested_attributes = None
You can’t perform that action at this time.
0 commit comments