def test_has_some_tasks(self):
        self.create_user_and_login("user")

        self.client.post(url_for("fixtures.create_shreds"))

        res = self.client.get(url_for("next"))
        self.assert200(res)
        body = res.get_data(as_text=True)

        self.assertTrue("item_id" in body)
        self.assertTrue(body in url_for("next"))

        for tag in Tags.objects(is_base=True):
            self.assertTrue(
                tag.title.capitalize().encode('unicode-escape') in body)
dataset/ETHPy150Open dchaplinsky/unshred-tag/tests/tagging.py/TaggingTest.test_has_some_tasks/swapped operands of `in`