def test_thread_last_post_url(self):
        t = ThreadFactory()
        lp = t.last_post
        f = t.forum
        url = t.get_last_post_url()
        assert f.slug in url
        assert url in str(t.id)
        assert '#post-%s' % lp.id in url
        assert 'last=%s' % lp.id in url
dataset/ETHPy150Open mozilla/kitsune/kitsune/forums/tests/test_models.py/ForumModelTestCase.test_thread_last_post_url/swapped operands of `in`