Fixed errors in tests
This commit is contained in:
@@ -360,7 +360,7 @@ def test_load_local():
|
||||
saml_config = Config()
|
||||
|
||||
config_dict = {
|
||||
"metadata": {"inline": idp_metadata}
|
||||
"metadata": {"inline": [idp_metadata]}
|
||||
}
|
||||
cfg = saml_config.load(config_dict)
|
||||
assert cfg
|
||||
@@ -385,4 +385,4 @@ def test_load_string():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_load_string()
|
||||
test_load_local()
|
||||
|
@@ -346,7 +346,7 @@ def test_load_string():
|
||||
assert len(mds.keys()) == 1
|
||||
idps = mds.with_descriptor("idpsso")
|
||||
|
||||
assert idps.keys() == [
|
||||
assert list(idps.keys()) == [
|
||||
'http://xenosmilus.umdc.umu.se/simplesaml/saml2/idp/metadata.php']
|
||||
certs = mds.certs(
|
||||
'http://xenosmilus.umdc.umu.se/simplesaml/saml2/idp/metadata.php',
|
||||
|
Reference in New Issue
Block a user