More IdP discovery support.

This commit is contained in:
Roland Hedberg 2013-01-28 11:26:02 +01:00
parent d3ec4b1d55
commit 5fa3d301ce

View File

@ -0,0 +1,9 @@
from saml2.discovery import DiscoveryServer
__author__ = 'rolandh'
def test_verify():
ds = DiscoveryServer(config_file="disco_conf")
assert ds
assert ds.verify_sp_in_metadata("urn:mace:example.com:saml:roland:sp")