

def test_permanent_session_cookies_are_permanent(app, client):
    client.get('/store-in-session/k1/value1/')
    assert (client.get_session_cookie().expires is None)
    client.get('/make-session-permanent/')
    assert (client.get_session_cookie().expires is not None)

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