def test_post_render_static_polls_many(self):
        """
        Should render the many static polls
        """
        comment = utils.create_comment(topic=self.topic, comment_html="<poll name=foo>\n<poll name=bar>")
        CommentPoll.objects.create(comment=comment, name='foo', title="my poll")
        CommentPoll.objects.create(comment=comment, name='bar', title="my other poll")

        comment_html = post_render_static_polls(comment)
        self.assertTrue('my poll' in comment_html)
        self.assertTrue('my other poll' in comment_html)
dataset/ETHPy150Open nitely/Spirit/spirit/comment/poll/tests.py/PollUtilsTest.test_post_render_static_polls_many/original