diff --git a/example/backends/spidsaml2_validator.py b/example/backends/spidsaml2_validator.py index cef791ba..ac40c574 100644 --- a/example/backends/spidsaml2_validator.py +++ b/example/backends/spidsaml2_validator.py @@ -363,6 +363,13 @@ def validate_assertion_authn_statement(self): "Assertion attribute_statement.attribute is missing/invalid. " f"{_ERROR_TROUBLESHOOT}" ) + # 99 + for attro in attri.attribute: + if not attro.attribute_value: + raise SPIDValidatorException( + "Assertion attribute_value is missing/invalid. " + f"{_ERROR_TROUBLESHOOT}" + ) def run(self, tests=[]): """run all tests/methods"""