def METHOD_NAME(
        client,
        librarian_martigny,
        patron2_martigny):
    """Test ptrn7 do not have any blocked field."""
    login_user_via_session(client, librarian_martigny.user)
    item_url = url_for(
        'invenio_records_rest.ptrn_item',
        pid_value=patron2_martigny.pid)
    res = client.get(item_url)
    assert res.status_code == 200
    data = get_json(res)
    assert 'blocked' not in data['metadata']['patron']