def test_missing_session_causes_new_empty_session(store, client):
    client.get('/store-in-session/k1/value1/')

    rv = client.get('/dump-session/')
    s = json_dec(rv.data)
    assert s['k1'] != 'value1'
    store.delete(store.keys()[0])

    rv = client.get('/dump-session/')
    assert rv.data == b('{}')

    rv = client.get('/is-kvsession/')
    assert rv.data == b('True')
dataset/ETHPy150Open mbr/flask-kvsession/tests/test_flask_kvsession.py/test_missing_session_causes_new_empty_session/operator `==` -> `!=`