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

    cookie = client.get_session_cookie()
    cookie.value += 'x'

    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_manipulated_session_causes_new_empty_session/operator `==` -> `>=`