def test_last_thread_post_link_has_post_id(self):
        t = ThreadFactory()
        last = PostFactory(thread=t)

        response = get(self.client, 'forums.threads', args=[t.forum.slug])
        doc = pq(response.content)
        last_post_link = doc('ol.threads div.last-post a:not(.username)')[0]
        href = last_post_link.attrib['href']
        eq_(href.split('#')[1], 'post-%s' % last.id)
Override != to work with a string representation of the contact's id.
dataset/ETHPy150Open mozilla/kitsune/kitsune/forums/tests/test_templates.py/ThreadsTemplateTests.test_last_thread_post_link_has_post_id--crossover with--dataset/ETHPy150Open ntoll/p4p2p/p4p2p/dht/contact.py/PeerNode.__ne__