Skip to content
Snippets Groups Projects
Commit ceb95860 authored by Thomas Goirand's avatar Thomas Goirand
Browse files

* Also remove test_load_remote_encoding() test which is doing network access

    during build (Closes: #907944).
parent 50b8cd35
No related branches found
No related tags found
No related merge requests found
python-pysaml2 (4.5.0-3) unstable; urgency=medium
* Also remove test_load_remote_encoding() test which is doing network access
during build (Closes: #907944).
-- Thomas Goirand <zigo@debian.org> Fri, 07 Sep 2018 11:34:59 +0200
python-pysaml2 (4.5.0-2) unstable; urgency=medium
* Uploading to unstable.
......
......@@ -2,13 +2,13 @@ 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-04-30
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 @@ def test_load_local_dir():
@@ -362,17 +362,6 @@
assert len(mds.keys()) == 4 # number of idps
......@@ -26,3 +26,18 @@ Index: python-pysaml2/tests/test_30_mdstore.py
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,
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment