Example #1
0
def test_attrib_static_validation_fails(attrib_request,
                                        attrib_handler: AttributeHandler):
    attrib_request.operation[ENC] = randomString()
    with pytest.raises(InvalidClientRequest):
        attrib_handler.static_validation(attrib_request)
Example #2
0
def test_attrib_static_validation_passes(attrib_request,
                                         attrib_handler: AttributeHandler):
    attrib_handler.static_validation(attrib_request)