Files
deb-python-pysaml2/tests/disco_conf.py
Lorenzo Gil Sanchez 2ae12290b0 Allow running the tests from the pysaml2 root directory.
This improves previous work for running the tests via the
command "python setup.py test" from a fresh clone.

This can be very useful to integrate pysaml2 in a continuous
integration system such as Jenkins or Travis.
2013-04-02 17:07:54 +02:00

25 lines
543 B
Python

from saml2.extension.idpdisc import BINDING_DISCO
from pathutils import full_path, xmlsec_path
BASE = "http://localhost:8088"
CONFIG = {
"entityid" : "%s/disco.xml" % BASE,
"name" : "Rolands Discoserver",
"service": {
"ds": {
"endpoints" : {
"disco_service": [
("%s/disco" % BASE, BINDING_DISCO),
]
},
},
},
"debug" : 1,
"xmlsec_binary" : xmlsec_path,
"metadata": {
"local": [full_path("servera.xml")],
},
}