def METHOD_NAME(
    db, admin_user, schema_executor, reopen_case_setup
):
    case, completed_work_items = reopen_case_setup(
        models.Case.STATUS_COMPLETED,
        [models.WorkItem.STATUS_COMPLETED],
    )
    query = """
        mutation ReopenCase($input: ReopenCaseInput!) {
            reopenCase(input: $input) {
                case {
                    status
                }
                clientMutationId
            }
        }
    """
    inp = {"input": {"caseId": str(case.pk), "workItemIds": []}}
    result = schema_executor(query, variable_values=inp)
    assert result.errors