@@ -666,7 +666,7 @@ def test_shibmd_scope_no_regex_no_descriptor_type():
666
666
mds = MetadataStore (ATTRCONV , sec_config , disable_ssl_certificate_validation = True )
667
667
mds .imp (METADATACONF ["15" ])
668
668
669
- scopes = mds .sbibmd_scopes (entity_id = 'http://example.com/saml2/idp.xml' )
669
+ scopes = mds .shibmd_scopes (entity_id = 'http://example.com/saml2/idp.xml' )
670
670
all_scopes = list (scopes )
671
671
672
672
expected = [
@@ -676,7 +676,7 @@ def test_shibmd_scope_no_regex_no_descriptor_type():
676
676
},
677
677
{
678
678
"regexp" : True ,
679
- "text" : regex_compile ("descriptor-example[^0-9]*\.org" ),
679
+ "text" : regex_compile (r "descriptor-example[^0-9]*\.org" ),
680
680
},
681
681
]
682
682
assert len (all_scopes ) == 2
@@ -687,7 +687,7 @@ def test_shibmd_scope_no_regex_all_descriptors():
687
687
mds = MetadataStore (ATTRCONV , sec_config , disable_ssl_certificate_validation = True )
688
688
mds .imp (METADATACONF ["15" ])
689
689
690
- scopes = mds .sbibmd_scopes (entity_id = 'http://example.com/saml2/idp.xml' , typ = "idpsso_descriptor" )
690
+ scopes = mds .shibmd_scopes (entity_id = 'http://example.com/saml2/idp.xml' , typ = "idpsso_descriptor" )
691
691
all_scopes = list (scopes )
692
692
expected = [
693
693
{
@@ -696,7 +696,7 @@ def test_shibmd_scope_no_regex_all_descriptors():
696
696
},
697
697
{
698
698
"regexp" : True ,
699
- "text" : regex_compile ("descriptor-example[^0-9]*\.org" ),
699
+ "text" : regex_compile (r "descriptor-example[^0-9]*\.org" ),
700
700
},
701
701
{
702
702
"regexp" : False ,
0 commit comments