Did I find the right examples for you? yes no

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)

src/p/y/pysaml2-HEAD/tests/test_30_mdstore.py   pysaml2(Download)
 
    mds.imp(METADATACONF["4"])
    assert len(mds.keys()) == 1
    idps = mds.with_descriptor("idpsso")
 
 
    mds.imp(METADATACONF["5"])
    assert len(mds.keys()) > 160
    idps = mds.with_descriptor("idpsso")
    print idps.keys()
 
    mds.imp(METADATACONF["8"])
    print len(mds.keys())
    assert len(mds.keys()) == 560
 

src/p/y/pysaml2-2.0.0/tests/test_84_entcat.py   pysaml2(Download)
    print "Assigned"
    # Find all that are assigned R&S
    for ent in mds.keys():
        res = mds.entity_categories(ent)
        if R_AND_S in res:
    supports = []
    print "Supports"
    for ent in mds.keys():
        # Find which entity categories NN supports
        res = mds.supported_entity_categories(ent)

src/p/y/pysaml2-2.0.0/tests/test_30_mdstore.py   pysaml2(Download)
 
    mds.imp(METADATACONF["4"])
    assert len(mds.keys()) == 1
    idps = mds.with_descriptor("idpsso")
 
 
    mds.imp(METADATACONF["5"])
    assert len(mds.keys()) > 160
    idps = mds.with_descriptor("idpsso")
    print idps.keys()
 
    mds.imp(METADATACONF["8"])
    print len(mds.keys())
    assert len(mds.keys()) == 560