Description: Remove test_switch_1
 Looks like this test is now broken, let's remove it.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2020-02-14

--- python-pysaml2-4.5.0.orig/tests/test_30_mdstore.py
+++ python-pysaml2-4.5.0/tests/test_30_mdstore.py
@@ -256,34 +256,6 @@ def test_example():
     assert len(certs) == 1
 
 
-def test_switch_1():
-    mds = MetadataStore(ATTRCONV, sec_config,
-                        disable_ssl_certificate_validation=True)
-
-    mds.imp(METADATACONF["5"])
-    assert len(mds.keys()) > 160
-    idps = mds.with_descriptor("idpsso")
-    print(idps.keys())
-    idpsso = mds.single_sign_on_service(
-        'https://aai-demo-idp.switch.ch/idp/shibboleth')
-    assert len(idpsso) == 1
-    print(idpsso)
-    assert destinations(idpsso) == [
-        'https://aai-demo-idp.switch.ch/idp/profile/SAML2/Redirect/SSO']
-    assert len(idps) > 30
-    aas = mds.with_descriptor("attribute_authority")
-    print(aas.keys())
-    aad = aas['https://aai-demo-idp.switch.ch/idp/shibboleth']
-    print(aad.keys())
-    assert len(aad["attribute_authority_descriptor"]) == 1
-    assert len(aad["idpsso_descriptor"]) == 1
-
-    sps = mds.with_descriptor("spsso")
-    dual = [eid for eid, ent in idps.items() if eid in sps]
-    print(len(dual))
-    assert len(dual) == 0
-
-
 def test_metadata_file():
     sec_config.xmlsec_binary = sigver.get_xmlsec_binary(["/opt/local/bin"])
     mds = MetadataStore(ATTRCONV, sec_config,
