Description: Remove network access test
 This test is doing network access which is forbidden in Debian.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2018-09-07

Index: python-pysaml2/tests/test_30_mdstore.py
===================================================================
--- python-pysaml2.orig/tests/test_30_mdstore.py
+++ python-pysaml2/tests/test_30_mdstore.py
@@ -362,17 +362,6 @@
     assert len(mds.keys()) == 4  # number of idps
 
 
-def test_load_extern_incommon():
-    sec_config.xmlsec_binary = sigver.get_xmlsec_binary(["/opt/local/bin"])
-    mds = MetadataStore(ATTRCONV, sec_config,
-                        disable_ssl_certificate_validation=True)
-
-    mds.imp(METADATACONF["10"])
-    print(mds)
-    assert mds
-    assert len(mds.keys())
-
-
 def test_load_local():
     # string representation of XML idp definition
     idp_metadata = open(full_path("metadata.xml")).read()
@@ -386,14 +375,6 @@
     assert cfg
 
 
-def test_load_remote_encoding():
-    crypto = sigver._get_xmlsec_cryptobackend()
-    sc = sigver.SecurityContext(crypto, key_type="", cert_type="")
-    httpc = HTTPBase()
-    mds = MetaDataExtern(ATTRCONV, 'http://metadata.aai.switch.ch/metadata.aaitest.xml', sc, full_path('SWITCHaaiRootCA.crt.pem'), httpc)
-    mds.load()
-
-
 def test_load_string():
     sec_config.xmlsec_binary = sigver.get_xmlsec_binary(["/opt/local/bin"])
     mds = MetadataStore(ATTRCONV, sec_config,
