def METHOD_NAME(
    self, client, access_token, worker, workers, deleted_user
):
    url = f"/workers/{workers[10]}/check-in"
    payload = {
        "username": "user_1",
        "cpu": 4,
        "memory": 2048,
        "disk": 4096,
        "offliners": ["mwoffliner", "phet"],
    }
    response = client.put(
        url, json=payload, headers={"Authorization": access_token}
    )
    # for now we accept that a worker changes its associated user
    assert response.status_code == 204
    # assert (
    #     response.get_json()["error"]
    #     == "worker with same name already exists for another user"
    # )