Did I find the right examples for you? yes no

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)
The lifetime of the assertion 
:param sp_entity_id: The SP entity ID
:param: lifetime as a dictionary 

src/p/y/pysaml2-2.0.0/tests/test_20_assertion.py   pysaml2(Download)
    assert r is not None
 
    assert r.get_lifetime("urn:mace:umu.se:saml:roland:sp") == {"minutes": 5}
    assert r.get_lifetime("urn:mace:example.se:saml:sp") == {"minutes": 15}
 
    assert r is not None
 
    assert r.get_lifetime("urn:mace:umu.se:saml:roland:sp") == {"minutes": 5}
    assert r.get_lifetime("urn:mace:example.se:saml:sp") == {"hours": 1}
 

src/p/y/pysaml2-HEAD/tests/test_20_assertion.py   pysaml2(Download)
    assert r is not None
 
    assert r.get_lifetime("urn:mace:umu.se:saml:roland:sp") == {"minutes": 5}
    assert r.get_lifetime("urn:mace:example.se:saml:sp") == {"minutes": 15}
 
    assert r is not None
 
    assert r.get_lifetime("urn:mace:umu.se:saml:roland:sp") == {"minutes": 5}
    assert r.get_lifetime("urn:mace:example.se:saml:sp") == {"hours": 1}