summaryrefslogtreecommitdiff
path: root/tests/idp_conf.py
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2013-05-06 15:40:39 +0200
committerFredrik Thulin <fredrik@thulin.net>2013-05-06 15:40:39 +0200
commit3b9661d4dee0fa1b611ce3ff86a29dc018d7d1c7 (patch)
treefa87aae554a5acd15ad1091ca4826fe9b20149e7 /tests/idp_conf.py
parent00b64207b7686ad0b37fd2993447721495ceebf3 (diff)
parentc54d115d5367ecdce8ccfc58148232550f221bb6 (diff)
downloadpysaml2-3b9661d4dee0fa1b611ce3ff86a29dc018d7d1c7.tar.gz
Merge branch 'master' of https://github.com/rohe/pysaml2
Conflicts: src/saml2/config.py tests/idp_conf.py tests/servera_conf.py
Diffstat (limited to 'tests/idp_conf.py')
-rw-r--r--tests/idp_conf.py43
1 files changed, 22 insertions, 21 deletions
diff --git a/tests/idp_conf.py b/tests/idp_conf.py
index 1fb27ad1..cc205b32 100644
--- a/tests/idp_conf.py
+++ b/tests/idp_conf.py
@@ -7,21 +7,21 @@ from pathutils import full_path
BASE = "http://localhost:8088"
CONFIG = {
- "entityid" : "urn:mace:example.com:saml:roland:idp",
- "name" : "Rolands IdP",
+ "entityid": "urn:mace:example.com:saml:roland:idp",
+ "name": "Rolands IdP",
"service": {
"idp": {
- "endpoints" : {
- "single_sign_on_service" : [
- ("%s/sso" % BASE, BINDING_HTTP_REDIRECT)],
+ "endpoints": {
+ "single_sign_on_service": [
+ ("%s/sso" % BASE, BINDING_HTTP_REDIRECT)],
"single_logout_service": [
- ("%s/slo" % BASE, BINDING_SOAP),
- ("%s/slop" % BASE,BINDING_HTTP_POST)]
+ ("%s/slo" % BASE, BINDING_SOAP),
+ ("%s/slop" % BASE, BINDING_HTTP_POST)]
},
"policy": {
"default": {
- "lifetime": {"minutes":15},
- "attribute_restrictions": None, # means all I have
+ "lifetime": {"minutes": 15},
+ "attribute_restrictions": None, # means all I have
"name_form": NAME_FORMAT_URI,
},
"urn:mace:example.com:saml:roland:sp": {
@@ -38,25 +38,26 @@ CONFIG = {
#"name_qualifier": ""
},
},
- "debug" : 1,
- "key_file" : full_path("test.key"),
- "cert_file" : full_path("test.pem"),
- "xmlsec_binary" : None,
+ "debug": 1,
+ "key_file": full_path("test.key"),
+ "cert_file": full_path("test.pem"),
+ "xmlsec_binary": None,
"metadata": {
"local": [full_path("metadata_sp_1.xml"),
full_path("vo_metadata.xml")],
},
- "attribute_map_dir" : full_path("attributemaps"),
+ "attribute_map_dir": full_path("attributemaps"),
"organization": {
"name": "Exempel AB",
- "display_name": [("Exempel AB","se"),("Example Co.","en")],
- "url":"http://www.example.com/roland",
+ "display_name": [("Exempel AB", "se"), ("Example Co.", "en")],
+ "url": "http://www.example.com/roland",
},
- "contact_person": [{
- "given_name":"John",
- "sur_name": "Smith",
- "email_address": ["john.smith@example.com"],
- "contact_type": "technical",
+ "contact_person": [
+ {
+ "given_name": "John",
+ "sur_name": "Smith",
+ "email_address": ["john.smith@example.com"],
+ "contact_type": "technical",
},
],
}