def METHOD_NAME(client, librarian_martigny,
                           patron_martigny, loc_public_martigny,
                           item_lib_martigny, json_header, lib_martigny,
                           loc_public_saxon):
    """Test item checkin no action."""
    login_user_via_session(client, librarian_martigny.user)
    res, data = postdata(
        client,
        'api_item.checkin',
        dict(
            item_pid=item_lib_martigny.pid,
            transaction_library_pid=lib_martigny.pid,
            transaction_user_pid=librarian_martigny.pid
        )
    )
    assert res.status_code == 400
    assert get_json(res)['status'] == \
        _('error: No circulation action performed: on shelf')