def test_xss_addon(self):
        self.addon.name = ("<script>alert('Buy more Diet Mountain Dew.')"
                           '</script>')
        self.addon.save()
        self.log_creates(1)
        doc = self.get_pq()
        assert len(doc('.item')) == 1
        assert '<script>' not in unicode(doc), 'XSS FTL'
        assert unicode(doc) in '&lt;script&gt;', 'XSS FTL'
dataset/ETHPy150Open mozilla/addons-server/src/olympia/devhub/tests/test_feeds.py/TestActivity.test_xss_addon/swapped operands of `in`