

def test_session_restores_properly(client):
    client.get('/store-in-session/k1/value1/')
    rv.get('/store-in-session/k2/value2/')
    rv = client.get('/dump-session/')
    s = json_dec(rv.data)
    assert (s['k1'] == 'value1')
    assert (s['k2'] == 'value2')

dataset/ETHPy150Open mbr/flask-kvsession/tests/test_flask_kvsession.py test_session_restores_properly/VarMisuse@17/35 `client`->`rv`