File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -360,7 +360,7 @@ def test_load_local():
360
360
saml_config = Config ()
361
361
362
362
config_dict = {
363
- "metadata" : {"inline" : idp_metadata }
363
+ "metadata" : {"inline" : [ idp_metadata ] }
364
364
}
365
365
cfg = saml_config .load (config_dict )
366
366
assert cfg
@@ -385,4 +385,4 @@ def test_load_string():
385
385
386
386
387
387
if __name__ == "__main__" :
388
- test_load_string ()
388
+ test_load_local ()
Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ def test_load_string():
346
346
assert len (mds .keys ()) == 1
347
347
idps = mds .with_descriptor ("idpsso" )
348
348
349
- assert idps .keys () == [
349
+ assert list ( idps .keys () ) == [
350
350
'http://xenosmilus.umdc.umu.se/simplesaml/saml2/idp/metadata.php' ]
351
351
certs = mds .certs (
352
352
'http://xenosmilus.umdc.umu.se/simplesaml/saml2/idp/metadata.php' ,
You can’t perform that action at this time.
0 commit comments