diff options
author | tpazderka <tomas.pazderka@nic.cz> | 2014-10-01 09:57:12 +0200 |
---|---|---|
committer | tpazderka <tomas.pazderka@nic.cz> | 2014-12-10 15:36:25 +0100 |
commit | eaac71d3f288a4ef9baa3916a04ec735d29cebcc (patch) | |
tree | 1116f334746783c75ffe18e7075de100a5d33f4d /tests/test_31_config.py | |
parent | 053dce72d9d088e701a3249a4629deb1b976f14e (diff) | |
download | pysaml2-eaac71d3f288a4ef9baa3916a04ec735d29cebcc.tar.gz |
Updated tests to pass with the redesigned MetaData import
Diffstat (limited to 'tests/test_31_config.py')
-rw-r--r-- | tests/test_31_config.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/test_31_config.py b/tests/test_31_config.py index 245714b3..ea25abbb 100644 --- a/tests/test_31_config.py +++ b/tests/test_31_config.py @@ -32,10 +32,11 @@ sp1 = { }, "key_file": full_path("test.key"), "cert_file": full_path("test.pem"), - "metadata": { - "local": [full_path("metadata.xml"), - full_path("urn-mace-swami.se-swamid-test-1.0-metadata.xml")], - }, + "metadata": [{ + "class": "saml2.mdstore.MetaDataFile", + "metadata": [(full_path("metadata.xml"), ), + (full_path("urn-mace-swami.se-swamid-test-1.0-metadata.xml"), )], + }], "virtual_organization": { "coip": { "nameid_format": "urn:oasis:names:tc:SAML:2.0:nameid-format:transient", |