

def test_proper_cookie_received(store, app, client):
    rv = client.get('/store-in-session/bar/baz/')
    (sid, created) = split_cookie(app, rv)
    assert (created != 0)
    key = ('%s_%x' % (sid, created))
    assert (key in store)

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