@@ -666,7 +666,7 @@ def test_shibmd_scope_no_regex_no_descriptor_type():
666666 mds = MetadataStore (ATTRCONV , sec_config , disable_ssl_certificate_validation = True )
667667 mds .imp (METADATACONF ["15" ])
668668
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' )
670670 all_scopes = list (scopes )
671671
672672 expected = [
@@ -676,7 +676,7 @@ def test_shibmd_scope_no_regex_no_descriptor_type():
676676 },
677677 {
678678 "regexp" : True ,
679- "text" : regex_compile ("descriptor-example[^0-9]*\.org" ),
679+ "text" : regex_compile (r "descriptor-example[^0-9]*\.org" ),
680680 },
681681 ]
682682 assert len (all_scopes ) == 2
@@ -687,7 +687,7 @@ def test_shibmd_scope_no_regex_all_descriptors():
687687 mds = MetadataStore (ATTRCONV , sec_config , disable_ssl_certificate_validation = True )
688688 mds .imp (METADATACONF ["15" ])
689689
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" )
691691 all_scopes = list (scopes )
692692 expected = [
693693 {
@@ -696,7 +696,7 @@ def test_shibmd_scope_no_regex_all_descriptors():
696696 },
697697 {
698698 "regexp" : True ,
699- "text" : regex_compile ("descriptor-example[^0-9]*\.org" ),
699+ "text" : regex_compile (r "descriptor-example[^0-9]*\.org" ),
700700 },
701701 {
702702 "regexp" : False ,
0 commit comments