

def test_expired_made_permanent_causes_no_exception(app, client):
    app.permanent_session_lifetime = timedelta(seconds=1)
    client.get('/store-in-session/k1/value1/')
    time.sleep(2)
    client.get('/make-session-permanent/')

dataset/ETHPy150Open mbr/flask-kvsession/tests/test_flask_kvsession.py test_expired_made_permanent_causes_no_exception/original