def verifyGetCommentCount(self, tag=None):
        t = "{% load comments %}" + (tag or "{% get_comment_count for testapp.article a.id as cc %}") + "{{ cc }}"
        ctx, out = self.render(t, a=Article.objects.get(pk=1))
        self.assertEqual(out, "2")
dataset/ETHPy150Open django/django-contrib-comments/tests/testapp/tests/test_templatetags.py/CommentTemplateTagTests.verifyGetCommentCount/original