def METHOD_NAME(schedule_entry_name, task_id):
    rf = RequestFactory()
    entry_name = schedule_entry_name
    url = f"/tasks/completed/{entry_name}/{task_id!s}/archive"
    request = rf.get(url, **HTTPS_KWARG)
    kws = {"schedule_entry_name": entry_name, "task_id": task_id}
    kws.update(V1)
    return reverse("task-result-archive", kwargs=kws, request=request)