def METHOD_NAME(
    user, user_id, team_user_id
):
    remoteci = user.post(
        "/api/v1/remotecis",
        data={"name": "My remoteci", "team_id": team_user_id},
    ).data["remoteci"]
    r = user.post("/api/v1/remotecis/%s/users" % remoteci["id"])
    assert r.status_code == 201
    r = user.delete(
        "/api/v1/remotecis/%s" % remoteci["id"],
        headers={"If-match": remoteci["etag"]},
    )
    assert r.status_code == 204
    subscribed_remotecis = user.get("/api/v1/users/%s/remotecis" % user_id).data[
        "remotecis"
    ]
    assert len(subscribed_remotecis) == 0