def METHOD_NAME(self):
    """
    The organization plugin should render as expected on a draft page.
    """
    staff = UserFactory(is_staff=True, is_superuser=True)
    self.client.login(username=staff.username, password="password")
    # Create a category
    category = CategoryFactory(page_title="public category")
    category_page = category.extended_object
    # Create organizations
    organization = OrganizationFactory(
        page_title={"en": "public organization", "fr": "organisation publique"},
        fill_categories=[category],
        fill_logo={"original_filename": "logo.jpg"},
    )
    organization_page = organization.extended_object
    # Create a page to add the plugin to
    page = create_i18n_page("A page")
    placeholder = page.placeholders.get(slot="maincontent")
    add_plugin(
        placeholder, OrganizationsByCategoryPlugin, "en", **{"page": category_page}
    )
    category_page.publish("en")
    category_page.unpublish("en")
    category_page.refresh_from_db()
    page_url = page.get_absolute_url(language="en")
    url = f"{page_url:s}?edit"
    # The unpublished organization should not be visible on the draft page
    response = self.client.get(url)
    self.assertNotContains(response, "public organization")
    self.assertNotContains(response, "public category")
    # Now publish the category to which the organization is linked
    category_page.publish("en")
    # The unpublished organization should still not be visible
    response = self.client.get(url)
    self.assertNotContains(response, "public organization")
    self.assertNotContains(response, "public category")
    # Now publish the organization and modify it to have a draft different from
    # the public version
    organization_page.publish("en")
    title_obj = organization.extended_object.get_title_obj(language="en")
    title_obj.title = "draft organization"
    title_obj.save()
    # Only the public organization should be visible
    response = self.client.get(url)
    self.assertNotContains(response, "draft organization")
    self.assertContains(response, "public organization")