def METHOD_NAME(
    user, client, apiclient, project_factory
):
    project = project_factory(is_app_accessible=True)
    organisation = project.organisation
    initiator = organisation.initiators.first()
    url = reverse(
        "a4dashboard:module-create",
        kwargs={
            "organisation_slug": organisation.slug,
            "project_slug": project.slug,
            "blueprint_slug": "idea-collection",
        },
    )
    client.login(username=initiator.email, password="password")
    response = client.post(url)
    assert project.modules.count() == 1
    module = project.modules[0]
    module.is_draft = False
    module.save()
    url = reverse("app-projects-list")
    apiclient.login(username=user.email, password="password")
    response = apiclient.get(url, format="json")
    assert response.status_code == 200
    assert response.data[0]["single_idea_collection_module"] == module.pk
    assert response.data[0]["single_poll_module"] is False