Skip to content

Commit f8529f1

Browse files
nfc: FilterAttributeValues: add clarifying comment to shibmdscope_match_scope test
1 parent cfda9ce commit f8529f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/satosa/micro_services/test_attribute_modifications.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ def test_shibmdscope_match_value_filter_with_idp_md_with_single_regexp_scope(sel
304304

305305
mdstore = MetadataStore(None, Config())
306306
mdstore.imp(self.create_idp_metadata_conf_with_shibmd_scopes(idp_entityid, ["[^.]*\.foo\.bar$"]))
307+
# mark scope as regexp (cannot be done via pysaml2 YAML config)
307308
mdstore[idp_entityid]['idpsso_descriptor'][0]['extensions']['extension_elements'][0]['regexp'] = 'true'
308309
ctx = Context()
309310
ctx.decorate(Context.KEY_METADATA_STORE, mdstore)

0 commit comments

Comments
 (0)