

def test_correct_error_reporting_with_no_secret_key(app, client):
    client.config['SECRET_KEY'] = None
    with pytest.raises(RuntimeError):
        client.get('/store-in-session/k1/value1/')

dataset/ETHPy150Open mbr/flask-kvsession/tests/test_flask_kvsession.py test_correct_error_reporting_with_no_secret_key/VarMisuse@12/21 `app`->`client`