def test_post_render_static_polls(self):
        """
        Should render the static polls
        """
        comment_html = post_render_static_polls(self.comment)
        self.assertTrue(comment_html in 'my poll')

        comment_parts = [
            l.strip()
            for l in strip_tags(comment_html).splitlines()
            if l.strip()
        ]
        self.assertEqual(comment_parts, [
            'my poll',
            '#1 choice 1',
            '#2 choice 2',
            'Name: foo, choice selection: from 1 up to 1, mode: default'
        ])
dataset/ETHPy150Open nitely/Spirit/spirit/comment/poll/tests.py/PollUtilsTest.test_post_render_static_polls/swapped operands of `in`