diff options
Diffstat (limited to 'tests/test_30_mdstore_old.py')
-rw-r--r-- | tests/test_30_mdstore_old.py | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/tests/test_30_mdstore_old.py b/tests/test_30_mdstore_old.py index 0f3d3d04..b847e115 100644 --- a/tests/test_30_mdstore_old.py +++ b/tests/test_30_mdstore_old.py @@ -230,30 +230,30 @@ def test_metadata_file(): assert len(mds.keys()) == 560 -def test_mdx_service(): - sec_config.xmlsec_binary = sigver.get_xmlsec_binary(["/opt/local/bin"]) - http = HTTPBase(verify=False, ca_bundle=None) - - mdx = MetaDataMDX(quote_plus, ONTS.values(), ATTRCONV, - "http://pyff-test.nordu.net", - sec_config, None, http) - foo = mdx.service("https://idp.umu.se/saml2/idp/metadata.php", - "idpsso_descriptor", "single_sign_on_service") - - assert len(foo) == 1 - assert foo.keys()[0] == BINDING_HTTP_REDIRECT - - -def test_mdx_certs(): - sec_config.xmlsec_binary = sigver.get_xmlsec_binary(["/opt/local/bin"]) - http = HTTPBase(verify=False, ca_bundle=None) - - mdx = MetaDataMDX(quote_plus, ONTS.values(), ATTRCONV, - "http://pyff-test.nordu.net", - sec_config, None, http) - foo = mdx.certs("https://idp.umu.se/saml2/idp/metadata.php", "idpsso") - - assert len(foo) == 1 +# def test_mdx_service(): +# sec_config.xmlsec_binary = sigver.get_xmlsec_binary(["/opt/local/bin"]) +# http = HTTPBase(verify=False, ca_bundle=None) +# +# mdx = MetaDataMDX(quote_plus, ONTS.values(), ATTRCONV, +# "http://pyff-test.nordu.net", +# sec_config, None, http) +# foo = mdx.service("https://idp.umu.se/saml2/idp/metadata.php", +# "idpsso_descriptor", "single_sign_on_service") +# +# assert len(foo) == 1 +# assert foo.keys()[0] == BINDING_HTTP_REDIRECT +# +# +# def test_mdx_certs(): +# sec_config.xmlsec_binary = sigver.get_xmlsec_binary(["/opt/local/bin"]) +# http = HTTPBase(verify=False, ca_bundle=None) +# +# mdx = MetaDataMDX(quote_plus, ONTS.values(), ATTRCONV, +# "http://pyff-test.nordu.net", +# sec_config, None, http) +# foo = mdx.certs("https://idp.umu.se/saml2/idp/metadata.php", "idpsso") +# +# assert len(foo) == 1 def test_load_local_dir(): |