def METHOD_NAME(client, organisation, create_codelists):
    # Create enough published codelists to paginate (under-review index page is paginated by 30)
    create_codelists(40, status=Status.UNDER_REVIEW, owner=organisation)
    under_review_for_organisation = flatten(
        [
            list(handle.codelist.versions.filter(status=Status.UNDER_REVIEW))
            for handle in Handle.objects.filter(
                is_current=True, organisation=organisation
            )
        ]
    )
    assert len(under_review_for_organisation) > 40
    rsp = client.get(f"/codelist/{organisation.slug}/under-review/")
    codelist_page_obj = rsp.context["versions_page"]
    assert len(codelist_page_obj.object_list) == 30
    assert codelist_page_obj.number == 1
    rsp = client.get(f"/codelist/{organisation.slug}/under-review/?page=2")
    codelist_page_obj = rsp.context["versions_page"]
    assert len(codelist_page_obj.object_list) == len(under_review_for_organisation) - 30