summaryrefslogtreecommitdiff
path: root/tests/test_76_metadata_in_mdb.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_76_metadata_in_mdb.py')
-rw-r--r--tests/test_76_metadata_in_mdb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_76_metadata_in_mdb.py b/tests/test_76_metadata_in_mdb.py
index f1376b17..60c1ff1c 100644
--- a/tests/test_76_metadata_in_mdb.py
+++ b/tests/test_76_metadata_in_mdb.py
@@ -5,7 +5,7 @@ from saml2.attribute_converter import ac_factory
from saml2.mongo_store import export_mdstore_to_mongo_db
from saml2.mongo_store import MetadataMDB
from saml2.mdstore import MetadataStore
-from saml2.mdstore import destinations
+from saml2.mdstore import locations
from saml2.mdstore import name
from saml2 import config
from pathutils import full_path
@@ -46,7 +46,7 @@ def test_metadata():
assert idps.keys()
idpsso = mds.single_sign_on_service(umu_idp)
assert len(idpsso) == 1
- assert destinations(idpsso) == [
+ assert list(locations(idpsso)) == [
'https://idp.umu.se/saml2/idp/SSOService.php']
_name = name(mds[umu_idp])