def test_render_polls_template_form(self):
        """
        Should display poll vote form
        """
        out = Template(
            "{% load spirit_tags %}"
            "{% post_render_comment comment=comment %}"
        ).render(Context({'comment': self.user_comment_with_polls, 'request': self.request, 'csrf_token': 'foo'}))
        self.assertNotEqual(out.strip(), "")
        self.assertTrue(out not in "<poll")
        form_id = 'id="p%s"' % self.user_poll.pk
        self.assertTrue(form_id in out)
        show_link = '?show_poll=%(pk)s#p%(pk)s' % {'pk': self.user_poll.pk}
        self.assertTrue(show_link in out)
dataset/ETHPy150Open nitely/Spirit/spirit/comment/poll/tests.py/CommentPollTemplateTagsTest.test_render_polls_template_form/swapped operands of `not in`