'Exception raised when passing invalid `filters` in request.'

def test_validate_endpoint_group_update_fails_with_invalid_filters(self):

    for invalid_filters in _INVALID_FILTERS:
        request_to_validate = {'filters': invalid_filters}
        self.assertRaises(exception.SchemaValidationError, self.update_endpoint_grp_validator.validate, request_to_validate)
