Did I find the right examples for you? yes no

All Samples(12)  |  Call(12)  |  Derive(0)  |  Import(0)
Return the attribute restriction for SP that want the information

:param sp_entity_id: The SP entity ID
:return: The restrictions

src/p/y/pysaml2-HEAD/tests/test_20_assertion.py   pysaml2(Download)
 
    ava = filter_attribute_value_assertions(AVA[3].copy(),
                                            p.get_attribute_restrictions(""))
 
    print ava
 
    ava = filter_attribute_value_assertions(AVA[0].copy(),
                                            p.get_attribute_restrictions(""))
 
    print ava
 
    ava = filter_attribute_value_assertions(AVA[1].copy(),
                                            p.get_attribute_restrictions(""))
 
    print ava
 
    ava = filter_attribute_value_assertions(AVA[0].copy(),
                                            p.get_attribute_restrictions(""))
 
    print ava
    assert _eq(ava.keys(), [])
 
    ava = filter_attribute_value_assertions(AVA[1].copy(),
                                            p.get_attribute_restrictions(""))

src/p/y/pysaml2-2.0.0/tests/test_20_assertion.py   pysaml2(Download)
 
    ava = filter_attribute_value_assertions(AVA[3].copy(),
                                            p.get_attribute_restrictions(""))
 
    print ava
 
    ava = filter_attribute_value_assertions(AVA[0].copy(),
                                            p.get_attribute_restrictions(""))
 
    print ava
 
    ava = filter_attribute_value_assertions(AVA[1].copy(),
                                            p.get_attribute_restrictions(""))
 
    print ava
 
    ava = filter_attribute_value_assertions(AVA[0].copy(),
                                            p.get_attribute_restrictions(""))
 
    print ava
    assert _eq(ava.keys(), [])
 
    ava = filter_attribute_value_assertions(AVA[1].copy(),
                                            p.get_attribute_restrictions(""))