def METHOD_NAME(rf, user, question):
    request = rf.get("/")
    request.user = user
    template = "{% load react_comments_async %}" "{% react_comments_async question %}"
    context = {"request": request, "question": question}
    content_type = ContentType.objects.get_for_model(question)
    expected = (
        r"^<div data-a4-widget=\"comment_async\" data-attributes="
        r"\"(?P<props>{.+})\"><\/div>$"
    )
    match = re.match(expected, helpers.render_template(template, context))
    assert match
    assert match.group("props")
    props = json.loads(html.unescape(match.group("props")))
    assert props["subjectType"] == content_type.id
    assert props["subjectId"] == question.id
    del props["subjectType"]
    del props["subjectId"]
    return props