

def test_path_session_path(app, client):
    app.config['APPLICATION_ROOT'] = '/foo'
    app.config['SESSION_COOKIE_PATH'] = '/bar'
    client.get('/store-in-session/k1/value1/')
    cookie = client.get_session_cookie('/bar')
    assert (cookie.path == '/bar')

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